https://prefect.io logo
Title
j

Jacob Goldberg

08/02/2022, 5:44 PM
Hi everyone. I started recieving an error message for all flows:
404 Client Error for <http+docker://localhost/v1.41/containers/create?name=elastic-salamander>: Not Found ("No such image: <http://26123096XXXX.dkr.ecr.us-east-1.amazonaws.com/cal_val_etl_flows:latest-165946XXXX%22|26123096XXXX.dkr.ecr.us-east-1.amazonaws.com/cal_val_etl_flows:latest-165946XXXX">)
I can go on AWS ECR, see the container, and see that the URI matches with the one from the error so it does exist…I have changed some settings recently regarding the python version and docker build, but cannot understand why i would get a container not found error edit: formatting
Looking through the build log I am also seeing:
[Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Could this be related? Recently switched to developing on an M1 mac..
y

Yupei Chen

08/02/2022, 8:23 PM
You can add this variable to your environment to fix that platform issue:
# For Apple M1 chips
DOCKER_DEFAULT_PLATFORM=linux/amd64
Not sure if this build error is related though, probably not.