Docker Community Forums

Share and learn in the Docker community.

X509: certificate signed by unknown authority Ubuntu Server behind proxy

(Ppalaufico) #1

I’m running in a server with ubuntuserver 16 with docker installed.I’m working behind a corporate proxy, which has internet connection because I can log in in the docker hub.
When I execute sudo docker run hello-world the following error appears:

latest: Pulling from library/hello-world
ca4f61b1923c: Pulling fs layer
docker: error pulling image configuration: Get x509: certificate signed by unknown authority.

Solutions tried:
I tried to copy the ca-certificate.crt from /etc/ssl/certs/ to /usr/local/share/ca-certificates/ and restarting docker but the error appeared again.

Any idea why this happens?

Thank you in advance,