Hi William,

Did you do “docker login”?

docker login nexus3.onap.org:10001
username: docker
password: docker

Thanks,
Gary

From: [email protected] 
[mailto:[email protected]] On Behalf Of ANAPAN-LAVALLE, 
HECTOR A
Sent: Thursday, May 24, 2018 10:56 AM
To: William Kurkian <[email protected]>; [email protected]
Subject: Re: [onap-discuss] Issue pulling image

Hi,

This issue of not pulling images from nexus3 is usually due to many reasons. I 
would first try to see if you can manually pull the docker image first (docker 
pull 
nexus3.onap.org:10001/onap/portal-app:2.1-STAGING-latest<https://urldefense.proofpoint.com/v2/url?u=http-3A__nexus3.onap.org-3A10001_onap_portal-2Dapp-3A2.1-2DSTAGING-2Dlatest&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=FXSTHna6MzE3ojMq3gr1yQ&m=jOpWoJsos3M6U_wi78fiKd3G0xYg8SrAELxgeo8iyto&s=ic7aFuC4iNrmIYkDEZKau8ZEores_pLan57ENlGqTuo&e=>).

If you get the same error, go browse for the image in the nexus3 gui to see if 
it’s actually in the repo 
(https://nexus3.onap.org/#browse/browse:docker.public) – docker.public is the 
repo pointing to port 10001.

If you are able to find it, it might mean that nexus3 is failing. Therefore, 
you could either try to set up your own docker proxy to pull images beforehand 
from nexus3, then point to your local docker repo instead of nexus3.

From integration team:

Setting up the apt and docker proxies is basically the following on Ubuntu 
16.04:

apt-get install apt-cacher-ng
apt-get install docker.io
docker run -d -p 5000:5000 --restart=unless-stopped --name registry -e 
REGISTRY_PROXY_REMOTEURL=https://nexus3.onap.org:10001<https://urldefense.proofpoint.com/v2/url?u=https-3A__nexus3.onap.org-3A10001&d=DwQGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=FXSTHna6MzE3ojMq3gr1yQ&m=blFK09pxD3lAzR0yfO2K_L0-KFeoZo3L-SlPqOpFnfY&s=xe41AI6tm7oOF5KrI8lr-v4KVbJJHrTnVGgXZWXv_ow&e=>
 registry:2

The docker proxy can take up a lot of space, so you may want to allocate a 
larger disk volume than the default flavor size.

More info on how to set this up here: 
https://docs.docker.com/registry/#basic-commands

From: 
[email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>>
 On Behalf Of William Kurkian
Sent: Tuesday, May 08, 2018 12:32 PM
To: [email protected]<mailto:[email protected]>
Subject: [onap-discuss] Issue pulling image

I am trying to pull an image for the portal-app pod, but it is not working:
 Failed to pull image 
"nexus3.onap.org:10001/onap/portal-app:2.1-STAGING-latest<https://urldefense.proofpoint.com/v2/url?u=http-3A__nexus3.onap.org-3A10001_onap_portal-2Dapp-3A2.1-2DSTAGING-2Dlatest&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=FXSTHna6MzE3ojMq3gr1yQ&m=jOpWoJsos3M6U_wi78fiKd3G0xYg8SrAELxgeo8iyto&s=ic7aFuC4iNrmIYkDEZKau8ZEores_pLan57ENlGqTuo&e=>"

I can't find an image I can pull, is there something I can do to resolve this?

William
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to