The curl command from local server to nexus is working on IPV6, only the docker (login, push or pull) commands for a docker hosted repository are not working on IPV6 tested on port 8082.
curl -6 -u XXXX:XXXX -v -g http://[IPV6]:8082/v2/
-
About to connect() to IPV6port 8082 (#0)
-
Trying IPV6…
-
Connected to IPV6 (IPV6) port 8082 (#0)
-
Server auth using Basic with user ‘test’
GET /v2/ HTTP/1.1
Authorization: Basic dGVzdDp0ZXN0
User-Agent: curl/7.29.0
Host: [IPV6]:8082
Accept: /
< HTTP/1.1 200 OK
< Date: Wed, 18 Jun 2025 09:31:16 GMT
< Server: Nexus/3.76.0-03 (OSS)
< X-Content-Type-Options: nosniff
< Content-Security-Policy: sandbox allow-forms allow-modals allow-popups allow-presentation allow-scripts allow-top-navigation
< X-XSS-Protection: 1; mode=block
< Docker-Distribution-Api-Version: registry/2.0
< Content-Length: 0
<
- Connection #0 to host IPV6 left intact
docker login [ipv6]:8082 --username XXXX --password YYY
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Error response from daemon: Get “http://[ipv6]:8082/v2/”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)
docker push [ipv6]:8082/DOCKER-REPO/DOCKER-IMAGE:tag
The push refers to repository [[ipv6]:8082/DOCKER-REPO/DOCKER-IMAGE:tag]
Get “http://[IPV6]:8082/v2/”: net/http: request canceled (Client.Timeout exceeded while awaiting headers)