Salta al contenuto

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.

posta 3 anni fa1,9K visualizzazioni
1 Risposta
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

ESPERTO
con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.