Closed astroalek closed 2 years ago
Do you have the latest version of the docker daemon installed? are you still running into it?
Do you have the latest version of the docker daemon installed? are you still running into it?
docker --version
Docker version 20.10.17, build 100c701
Yeah, I'm still receiving the same error sam local invoke
My bad, your suggestion made me check my docker settings and I found out that I've enabled the flag "Use containerd for pulling and storing images" in Docker Desktop Experimental features. Disabling it enabled docker to pull the image thatn previously was not found.
It looks like the issue have been resolved, I am going to close this issue but please feel free to create a new one if you still encounter any other issues.
Description:
I'm having a hard time trying to locally invoking lambda code with hello-world templates
Steps to reproduce:
sam init -r python3.8
1
1
N
sam-app-py38
cd sam-app-py38
sam build --debug
sam local invoke --debug
Expected result:
I was expecting the result coming from the lambda execution. I got a similar output if i try
sam local start-api
and then
curl http://127.0.0.1:3000/hello
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: SAM CLI, version 1.60.0