I'm using Sonatype Nexus as a Private Docker Registry.
While it works with authenticated users, trying to use anonymous user to pull images doesn't work. This happens only on a docker client.
Using the Nexus UI (not logged in) I'm able to browse images on my repo. But trying to pull the images I get an 'Unauthorized' error.
The following is a capture stream of communication between the Docker Client and the Nexus repository:
This is strange, as the anonymous access is enabled, and according to the docs, I may have a Docker Hosted Registry (with RW
access through HTTPs
port) and a Docker Group Registry, pointing to a Docker Hosted Registry, with RO/Anonymous
access.
This feature was added in Nexus 3.6. According to the documentation: