docker-nginx: no matching manifest for linux/amd64 in the manifest list entries
in Dockerfile
FROM nginx:alpine
$ docker-compose build
Building nginx
Step 1/5 : FROM nginx:alpine
alpine: Pulling from library/nginx
ERROR: Service 'nginx' failed to build: no matching manifest for linux/amd64 in the manifest list entries
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 79
- Comments: 33
Commits related to this issue
- Temporarily use a successfully published version of nginx Workaround for nginxinc/docker-nginx#230 — committed to palantir/atlasdb by gsheasby 6 years ago
- Fix/nginx image (#3010) * Temporarily use a successfully published version of nginx Workaround for nginxinc/docker-nginx#230 * [no release notes] — committed to palantir/atlasdb by gsheasby 6 years ago
- Use the stable-alpine tag of the nginx image Due to https://github.com/nginxinc/docker-nginx/issues/230 — committed to nstapelbroek/docker-static-webserver by nstapelbroek 6 years ago
- Change nginx from alpine into alpine_stable See upstream bug [1] [1] https://github.com/nginxinc/docker-nginx/issues/230 — committed to drpaneas/os-autoinst-distri-opensuse by drpaneas 6 years ago
- Updated nginx. - mainline nginx is bumped to 1.13.9 - alpine mainline builds are now using alpine 3.7. — committed to docker-library/official-images by thresheek 6 years ago
- Change nginx from alpine into alpine_stable See upstream bug [1] [1] https://github.com/nginxinc/docker-nginx/issues/230 — committed to StefanBruens/os-autoinst-distri-opensuse by drpaneas 6 years ago
- Provide tag to nginx * docker pull cannot find a manifest for nginx, similar to https://github.com/nginxinc/docker-nginx/issues/230 Signed-off-by: Iain Sproat <isproat@pivotal.io> — committed to cloudfoundry-incubator/kubo-ci by karampok 6 years ago
you can also use the previous build directly
FROM nginx:1.13.8-alpineI saw in other related issues that this should fix itself after a few mins but it has been an hour since I first encountered the error. Is it possible to trigger a manual build right now? @tianon
Tagging for future reference https://github.com/docker-library/official-images/issues/3835
I deemed
1.13.9-alpineto be specific enough.It’s happening again 😢
nginx:1.14-alpineworks though. Will use this until the issue https://github.com/nginxinc/docker-nginx/issues/262 has been resolved.nginx:alpinenow working for me.Until this is fixed you can use
nginx:stable-alpine, it has an older version of nginx, but it’s working fine for me at the moment.And this is why you should never use non-specific versions in your dependent images.
A better approach would probably be to specifically pull an old sha256 digest of
nginx:1.13-alpineor whatever tag you’re using. This way you won’t be pulling an old version of nginx rather just an old build. It is also the recommended workaround in the issue I have linked. What I did was I viewed the history of the nginx alpine readme, copied and pulled the old digest and tagged it asnginx:1.13-alpinesame here
docker pull nginx:1.13-alpineSame problem here with
nginx:1.15-alpine. Switch tonginx:stable-alpineworks for me.It’s happening for me too 😦
As @ebernard alluded to, this appears to be due to Dockerhub’s build and release process for official images:
https://github.com/docker-library/official-images/issues/3835
A workaround is to use a specific version of a particular tag, e.g.
nginx:1.13.8-alpineinstead ofnginx:alpinenot yet nginx:alpine though
See also https://github.com/docker-library/official-images/issues/3835
same here. Change to
nginx:stable-alpineand everything works fine.docker pull nginx:alpine alpine: Pulling from library/nginx no matching manifest for unknown in the manifest list entries
1.13.9-alpineis specific enough, but it’s still the version that hasn’t finished building yet, hence why it’s not working.You can see at https://hub.docker.com/r/amd64/nginx/tags/ that
1.13.9-alpinedoesn’t exist yet.As @rawpixel-vincent said, use
1.13.8-alpineuntil the new build is ready.