No Match for Platform - running on a M1 Apple Chip
Closed this issue · 2 comments
Hi, Thanks for providing this resource...
When I try to run the following:
docker pull minus34/gnafloader:latest
I get the following ....
What's next:
View a summary of image vulnerabilities and recommendations → docker scout quickview minus34/gnafloader:latest
Error response from daemon: no match for platform in manifest: not found
When I run the following:
docker scout quickview minus34/gnafloader:latest
I get the following:
✗ Pull failed
ERROR Status: failed to get image minus34/gnafloader:latest: failed to pull image minus34/gnafloader:latest: no child with platform linux/arm64 in index minus34/gnafloader:latest, Code: 1
What are my options around this?
I am considering building the database on a docker image directly, however I have serious misgivings regarding of my lack of docker and Postgres experience. ;)
Appreciate some guidance.
Thanks in advance!
Hi @PeerLabs, try adding --platform linux/amd64
to your pull command. That should work.
FYI - I've got linux/arm64
support for the Docker container in my backlog. Unfortunately, the current Dockerfile has a build that doesn't work with ARM64, so it'll require some major rework to support both AMD64 and ARM64 natively.
ARM64 Docker images have been (finally) released today: https://hub.docker.com/r/minus34/gnafloader