-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: sam local invoke - Docker - Have you got it installed and running #5059
Comments
Hi, thanks for opening this issue! It looks like the Docker context might be using a different context than what SAM CLI expects (from your screenshot, where Following #4329 (comment), does this work around work for you? |
My understanding is that updating
|
Setting the |
Seems like discussions on this issue have stalled so I will close this out now. Should anything else arise or you have anymore questions, please don't hesitate to open up a new issue. |
|
Description:
I have seen similar issues around but I am not sure this is exactly the same. When I try to
local invoke
a Lambda defined in my cdk project I get the errorError: Running AWS SAM projects Locally requires Docker. Have you got it installed and running?
. But Docker is clearly running in the background.I read something about
DOCKER_HOST
but if I touch thecdk build
breaks insteadsam --version
: SAM CLI, version 1.81.0docker --version
: Docker version 20.10.24, build 297e128Steps to reproduce:
sam local invoke -t
Observed result:
Error
Expected result:
No error
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: SAM CLI, version 1.81.0The text was updated successfully, but these errors were encountered: