Skip to content

Commit afed1a2

Browse files
committed
add dockr instructions to example readme
1 parent de4cdb9 commit afed1a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Examples/quoteapi/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ When a Lambda function is invoked, API Gateway sends an event to the function wi
6464
sam local invoke QuoteService --event events/GetQuote.json
6565
```
6666

67+
On macOS, you might need to run this command if `sam` doesn't see `docker`:
68+
```bash
69+
export DOCKER_HOST=unix://$HOME/.docker/run/docker.sock
70+
```
71+
6772
## Cleanup
6873

6974
When finished with your application, use SAM to delete it from your AWS account. Answer **Yes (y)** to all prompts. This will delete all of the application resources created in your AWS account.

0 commit comments

Comments
 (0)