docker-archive / docker-registry

This is **DEPRECATED**! Please go to https://github.com/docker/distribution
Apache License 2.0
2.88k stars 879 forks source link

search on my Auth+TLS private docker registry #1081

Open jeusdi opened 8 years ago

jeusdi commented 8 years ago

I've been able to set up a private docker registry using the last version of image distribution/registry:master with authorization and TLS.

So, I'm able to log in on my private registry using this command:

docker login -u user -p passwd -e user@xxx.xxx registry.xxx.xxx:5000

I receive a Login Succeeded message. However I don't quite to understand how to search on my private repository. The command sequence is like:

# docker login -u user -p passwd -e xxx@xxx.xxx registry.xxx.xxx:5000
Login Succeeded
# docker search registry.xxx.xxx:5000/ubuntuxxx
Error response from daemon: Unexpected status code 404

How to search on my Auth+TLS private docker registry?

Also, I receive this message when I'm trying to pull an image:

# docker pull registry.xxx.xxx:5000/ubuntuxxx
Using default tag: latest
Error response from daemon: Get http://registry.xxx.xxx:5000/v2/: malformed HTTP response "\x15\x03\x01\x00\x02\x02"