I have recently installed Nexus 3.86 and configured it for proxy access to dockerhub.
I have created the DefaultRole for anonymous access, applying it to the anonymous user.
I have configured DockerHub with Path Based Routing.
Allow anonymous docker pull.
When I try to pull a container using podman I get the following error:
DEBU[0003] GET https://nexus.example.net/v2/
DEBU[0003] Ping https://nexus.example.net/v2/ status 401
DEBU[0003] GET http://nexus.example.net/repository/DockerHub/v2/token?scope=repository%3Adockerhub%2Fmediawiki%3Apull&service=http%3A%2F%2Fnexus.example.net%2Frepository%2FDockerHub%2Fv2%2Ftoken
DEBU[0003] Accessing "nexus.example.net/dockerhub/mediawiki:latest" failed: Get "http://nexus.example.net/repository/DockerHub/v2/token?scope=repository%3Adockerhub%2Fmediawiki%3Apull&service=http%3A%2F%2Fnexus.example.net%2Frepository%2FDockerHub%2Fv2%2Ftoken": EOF
DEBU[0003] Error pulling candidate nexus.example.net/dockerhub/mediawiki:latest: unable to copy from source docker://nexus.example.net/dockerhub/mediawiki:latest: initializing source docker://nexus.example.net/dockerhub/mediawiki:latest: Get "http://nexus.example.net/repository/DockerHub/v2/token?scope=repository%3Adockerhub%2Fmediawiki%3Apull&service=http%3A%2F%2Fnexus.example.net%2Frepository%2FDockerHub%2Fv2%2Ftoken": EOF
Error: unable to copy from source docker://nexus.example.net/dockerhub/mediawiki:latest: initializing source docker://nexus.example.net/dockerhub/mediawiki:latest: Get "http://nexus.example.net/repository/DockerHub/v2/token?scope=repository%3Adockerhub%2Fmediawiki%3Apull&service=http%3A%2F%2Fnexus.example.net%2Frepository%2FDockerHub%2Fv2%2Ftoken": EOF
DEBU[0003] Shutting down engines