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.

질문됨 10달 전869회 조회
1개 답변
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

profile picture
전문가
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠