moby: docker 1.8.1 with private registry 2.1.1 -> image not found
for registry logs and further information please look at https://github.com/docker/distribution/issues/884 - they send me here 😃 push with client 1.7 works perfect, with 1.8 the image is not found
docker login docker-registry.tld:5043
Username (repo-user):
WARNING: login credentials saved in /root/.docker/config.json
Login Succeeded
root@HOSTNAME:~# docker pull docker-registry.tld:5043/repo/ingest_preview:06bdc8f-1508171450
06bdc8f-1508171450: Pulling from repo/ingest_preview
2f78cb7c220f: Extracting 3.342 MB/304.3 MB
eb99a556e061: Download complete
17bcfa6397dc: Download complete
b0c1250074dc: Download complete
2db0b56a609c: Downloading 253 MB/409.3 MB
0fd658e25fd8: Download complete
Pulling repository docker-registry.tld:5043/repo/ingest_preview
Error: image repo/ingest_preview:06bdc8f-1508171450 not found
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 39 (3 by maintainers)
Same error with Docker v1.8.2 and v1.10.3, Registry 2.1.
Most of the time, the image can be correctly pulled by docker daemon through v2, but sometimes docker daemon will fallback to v1 and cause the error “image not found”.
Workaround Configure docker daemon with option “–disable-legacy-registry” to disable v1(v1 is not needed by us), but this option is only supported by docker v1.9.0+.