0

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?

marting
  • 165
  • 1
  • 8

2 Answers2

1

This started working after I created a docker account and was logged in in Docker Desktop.

marting
  • 165
  • 1
  • 8
-1

Switch your Docker from windows container to Linux container:

Image showing how to switch between Linux/windows container in Windows 10

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

dbc
  • 104,963
  • 20
  • 228
  • 340