Ir para o conteúdo

SAM local invoke got docker image error

0

i want to build and debug SAM applicaiton in vs code. However, everytime I run "sam local invoke", I got the below error. Any idea?

Invoking app.lambdaHandler (nodejs14.x) Local image was not found. Removing rapid images for repo public.ecr.aws/sam/emulation-nodejs14.x Building image...... Failed to build Docker Image NoneType: None Error: Error building docker image: Get "https://public.ecr.aws/v2/": proxyconnect tcp: dial tcp 192.168.65.7:3128: connect: connection refused

  • Can you detail your env: OS? SAM version ? etc.

feita há 3 anos1,9 mil visualizações
1 Resposta
0

What is your local operating system?
It is possible that changing the settings in template.yaml may improve the situation depending on the OS architecture.
https://stackoverflow.com/questions/75216548/aws-sam-cli-throws-error-error-building-docker-image
https://github.com/aws/aws-sam-cli/issues/4771

ESPECIALISTA
respondido há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.