colima icon indicating copy to clipboard operation
colima copied to clipboard

Problems with sam local

Open kristus123 opened this issue 3 years ago • 1 comments

Can anyone help me on this ?

Running AWS SAM projects locally requires Docker. Have you got it installed and running?

Having problems using sam local and colima together.

kristus123 avatar Feb 21 '22 09:02 kristus123

Hi, you could set this environment variable at your .zshenv file

export DOCKER_HOST="unix://$HOME/.colima/docker.sock"

source it and re-run

source ~/.zshenv
sam build -u 

it should work now

roamin9 avatar Feb 21 '22 10:02 roamin9