I’m going through the video walkthrough on setting up Nexus 3 Docker repositories. I have configured my Nexus 3 software to serve content via https on port 18079. And I have set up 3 Docker repositories:
Docker proxy repository
Name: docker-hub
Format: docker
Type: proxy
Online: X
Repository connectors: none
Docker Registry API Support
Enable Docker V1 API: X
Remote storage:
Docker Index: Use docker hub
Auto blocking enabled
Auto block outbound connections: X
Maximum component age: 1440
Maximum metadata age: 1440
Storage: default
Strict content type validation: X
Negative cache not found cache enabled: X
Docker hosted repository
Name: docker-internal
Format: docker
Type: hosted
Online: X
Repository connectors
HTTPS: 18078
Docker Registry API Support
Enable Docker V1 API: X
Storage
Blog store: default
Strict content type validation: X
Hosted
Deployment policy: allow redeploy
Docker repository group
Name: docker-all
Format: docker
Type: group
Online: X
Repository connectors
HTTPS: 18077
Docker Registry API Support
Enable Docker V1 API: X
Storage
Blog store: default
Strict content type validation: X
Group
Member repositories: docker-hub, docker-internal
There is a problem with my configuration. When I try to perform a docker search operation I either get a 404 or a connection refused.
I guess my first question is - which port should I be querying the repositories from? the docker group port (18077), the docker internal port (18078), or the https port that Nexus is configured to run on (18079)? I think 18079, but not sure. Also I’m sort of at a loss right now about where to go next in troubleshooting this.
Any advice on this would be appreciated.
Thanks,
RJ