Problem using Nexus to proxy docker hub
See original GitHub issueDescribe the bug
I am trying to setup nexus in the AzureTRE environment to proxy docker hub. I believe I have nexus setup correctly and appropriate docker hosts added the the firewall rules. When I try to run docker login
from a VM running in a workspace shared service subnet I see error similar to what is described here. According to Sonatype docs docker needs to be exposed on a different port than the standard ssl port nexus is already running on. However nexus is running in an Azure App Service and I don’t see a way to expose custom ports.
Steps to reproduce
- setup Nexus to proxy docker hub
- add
*.docker.io
and*.docker.com
to firewall rules to allow nexus to access them - create workspace and start vm in shared services subnet
- connect to vm using bastion and run
docker login nexus-[tre_id].azurewebsites.net:[port]
- see timeout error
Acceptance criteria
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
Docker proxy error - Nexus Repository Manager
I would like to know about the Nexus docker proxy warehouse. When the configured proxy URL address is unreachable, and the existing image...
Read more >Using Nexus OSS as a proxy/cache for Docker images
Log on to your Nexus instance with administrative rights, and navigate to the Admin pages. Click on Repository -> Repositories, and click on...
Read more >Nexus OSS 3.0.0 M7 - Problems with Docker Registry (proxy ...
I am struggling to set up a local docker registry that proxies DockerHub. Docker Versions. docker --version. Docker version 1.10.2, build c3959b1.
Read more >In Sonatype Nexus Docker proxy, how do I debug "Bad ...
I updated the question to note specifically that I am attempting with httpsProxy . When that is enabled, everything breaks. So am I ......
Read more >Set up a Private Docker Repository and Docker Hub Proxy ...
Overcome Docker Hub pull limits and privately store your own docker images by running your own Nexus server. Find out how to run...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Scrap the multiple web app idea. The SSL certificate needs to be loaded into nexus - can’t do that with web apps as we don’t have access to the cert.
Could not configure HTTPS connector on port 5000 for docker repository dockerhub
Searching got me: “Docker registries are required to use HTTPS. This message means that you have not configured Jetty with a keystore from which it can load a TLS certificate for the Docker HTTPS connectors”
I see no option that to use a trusted SSL certificate, and in that case would run in docker on a VM/VMSS.
To get a trusted SSL, either
Have set up a meeting to discuss further after tomorrow’s stand-up - @tamirkamara have invited you if you’re able to attend as your input would be valued. If not feel free to post your thoughts on this ticket. Summary of the planned meeting discussion: