I’ve been trying to push a docker image to nexus repository manager for 2 days.
I have tried to push to the default port where nexus is running (8081), HTTP 18443 and HTTPS 10001:
docker push localhost:PORT/repository/firstdockerrepo:mytag
170945158084: Preparing
b59b3691e08d: Preparing
2f149da86288: Preparing
92ff06e41201: Preparing
7b76f7b93456: Preparing
c28fdec40c4a: Waiting
8ddec224834c: Waiting
e9db4731c771: Waiting
3de9bbd55c1d: Waiting
8ceb9643fb36: Waiting
error parsing HTTP 404 response body: no error details found in HTTP response body: “{"message":"page not found"}\n”
I am now using NGINX and I can access Nexus at ports :80 and :443 but when I try to login with “docker login” in the command line I always get any of the errors: http://localhost:PORT/v2/ failed with status: 404 Not Found
Error response from daemon: Get “http://localhost:PORT/v2/”: dial tcp [::1]:PORT: connect: connection refused