-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker push error 404: #1291
Comments
Hi Jason, Thanks for picking up the ticket. I had a feeling that it could be related to V1 and V2 thing...I noticed that the latest docker I downloaded automatically generate http://private host:5000/v2/repositories while my corporate one is http://private host:5000/v1/repositories....if I changed "v1" to "v2", I got the 404 error. Would this be the issue? Thanks, |
Hi Susie, do you have a Docker Login? It looks like you're signed out. You'll need to sign into your Docker Hub account to get to the right Repositories. Thanks |
I've created a login. my company is using our own insecure repository. So now I can see "Repositories"...do I need to set up anything here? Thanks, |
Hi Jason, I tried following steps at a mac machine and got the exact same 404 error. Hence, I think the issue isn't Windows specific.
Feel free to let me know what else I shall provide to help diagnose my problem. Thank you so much. really appreciated, |
Hi Jason, My colleague has the same configuration, and can pull image from our registry. But we cannot figure out what the problem is in my docker... Thanks, |
@xiaomaosusie Yes, that most likely is the issue. The V1 protocol is deprecated, and interacting with V1 registries was deprecated in Docker 1.8.3. Since then, docker has printed a warning for each image that was pulled from a V1 registry; if you've seen that message when pulling images, then your internal registry is in deed a V1 registry;
Since Docker 17.06, pulling from legacy registries was disabled by default (but could be enabled with the Docker 17.09 is the last version that still allows you to connect to v1 registries, but I would really urge you to upgrade your internal registry to a registry that supports the V2 standard. The V1 standard is known to have vulnerabilities, and if you're running the open-source V1 registry; that code hasn't been maintained for 3 years, and should not be used anymore. You can run the open source V2 registry, but for a corporate environment I'd recommend running DTR (Docker Trusted Registry), as it also brings additional features targeted at corporate use (access control, security scanning of your images for CVE's/vulnerabilities, image signing) |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
While pushing image I had following error:
:
I'm using windows 10; trying to push image to corporate private registry.
Information
docker info
Let me know if anything else I shall provide...
Thank you so much!!
The text was updated successfully, but these errors were encountered: