Skip to content

Commit 08cc122

Browse files
committed
2 parents abf855b + 8af3c67 commit 08cc122

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,11 @@ You install the runtime interface emulator to your local machine. When you run t
9999

100100
2. Run your Lambda image function using the docker run command.
101101

102-
`docker run -d -v ~/.aws-lambda-rie:/aws-lambda -p 9000:8080 myfunction:latest
103-
--entrypoint /aws-lambda/aws-lambda-rie <image entrypoint> <(optional) image command>`
102+
```
103+
docker run -d -v ~/.aws-lambda-rie:/aws-lambda -p 9000:8080 \
104+
--entrypoint /aws-lambda/aws-lambda-rie \
105+
myfunction:latest <image entrypoint> <(optional) image command>
106+
````
104107
105108
This runs the image as a container and starts up an endpoint locally at `localhost:9000/2015-03-31/functions/function/invocations`.
106109

0 commit comments

Comments
 (0)