Hi Rujun,

I had the same issue for running “docker login” behind a proxy server, so even 
when the Docker CLI documentation says that it uses any environment variable[1] 
I suspect that the RegistryLogin function[2] is not using them during the login 
request.  I haven’t found a workaround yet for vagrant-onap code[3] but I’m 
going to check if the Docker CLI teams has something.

Regards,
Victor Morales

[1] 
https://docs.docker.com/engine/reference/commandline/cli/#environment-variables
[2] https://github.com/docker/cli/blob/master/cli/command/registry/login.go#L91
[3] 
https://git.onap.org/integration/tree/bootstrap/vagrant-onap/lib/_onap_functions#n19


From: <[email protected]> on behalf of "Li, Rujun" 
<[email protected]>
Date: Monday, July 31, 2017 at 11:55 PM
To: "[email protected]" <[email protected]>
Subject: [onap-discuss] daemon EOF error

Hi all

When I follow the directors change the openecomp.env and create a stack, I 
found that the vm cannot start containers correctly. When I input the command

docker login –u docker –p docker nexus3.onap.org:10001

the error shows

Error response from daemon: Get https://nexus3.onap.org:10001/v1/users/: EOF

I am behind the proxy but I have set the proxy following 
https://docs.docker.com/engine/admin/systemd/#httphttps-proxy
And docker run hello-world can work

I want to know how can I solve the problem, thanks


Best wishes,
Rujun, Li

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

Reply via email to