I'm trying to run the ASW sam local example with 'sam local invoke' but get this error:
Could not find amazon/aws-sam-cli-emulation-image-nodejs12.x:rapid-1.6.2 image locally and failed to pull it from docker
Any suggestions?
I'm trying to run the ASW sam local example with 'sam local invoke' but get this error:
Could not find amazon/aws-sam-cli-emulation-image-nodejs12.x:rapid-1.6.2 image locally and failed to pull it from docker
Any suggestions?
Switch your Docker from windows container to Linux container:
Else try to pull the image manually you will get the actual error. https://hub.docker.com/r/amazon/aws-sam-cli-emulation-image-java8
This started working after I created a docker account and was logged in in Docker Desktop.