Skip to content
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

Registry is up and running and accessible from browser/curl, but docker push fails #4724

Open
InputUsername opened this issue Oct 24, 2024 · 0 comments

Comments

@InputUsername
Copy link

Summary

The title, basically. The registry is up and running and I can access it with curl:

$ curl http://127.0.0.1:32000/v2/
{}

But docker push fails:

$ docker push 127.0.0.1:32000/myimage
docker push 127.0.0.1:32000/myimage
Using default tag: latest
The push refers to repository [127.0.0.1:32000/myimage]
Get "http://127.0.0.1:32000/v2/": dial tcp 127.0.0.1:32000: connect: connection refused

I am using Docker Desktop on Fedora 39. I've followed most troubleshooting steps from the docs and other issues (e.g. adding insecure registries, disabling SELinux, adding firewall rules), to no avail. I am however able to push using my machine's IP address.

Sorry if this issue is not relevant, I just don't know how to debug it further.

What Should Happen Instead?

I expect the push to work, since the registry seems to be running and accessible.

Reproduction Steps

  1. Build image, tag as http://127.0.0.1:32000/myimage
  2. docker push http://127.0.0.1:32000/myimage

Introspection Report

Can you suggest a fix?

Are you interested in contributing with a fix?

No (I'm happy to help but I wouldn't know where to start).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant