Hi @koksime-yap_5909,
ProGet uses a combination of the Nexus REST API and the Docker API to pull images from Nexus. Just like packages, only local images will be pulled (as in only hosted Nexus Docker registries are supported). The basic process is:
- Get a list of images using the Nexus components API.
- Get the Docker API endpoint using the Nexus registries API (this is what you would use in the Docker client)
- Pull the image (manifest, layers, etc...) using the Nexus Docker API
I'm guessing the error is occurring building the URL to Docker API endpoint. When you say that you are using an external proxy, did you configure the subdomain and port in Nexus to be the subdomain and port of your proxy? Would you also be able to send us the JSON that is returned for the following GET request in the Nexus API?
https://«NEXUS_HOST_AND_PORT»/service/rest/v1/repositories/docker/hosted/«NEXUS_DOCKER_REGISTRY_NAME»
If you can send me the value for the url property and the object for docker property, I can tell you what URL ProGet using to connect to the Docker API. Feel free to obfuscate the host name, subdomain (if configured), and registry name. The JSON will look something like this:
{
"name": "internal",
"format": "docker",
"type": "hosted",
"url": "http://localhost:8081/repository/docker-example",
...
"docker": {
"v1Enabled": false,
"forceBasicAuth": true,
"httpPort": 8082,
"httpsPort": 8083,
"subdomain": "docker-a",
"pathEnabled": true
}
}
Thanks,
Rich