13
11/20
How to pull docker image behind proxy
My host OS is CENTOS7, and running behind proxy. The output of executing docker run hello-world is like this: # docker run hello-world Unable to find image 'hello-world:latest' locally Trying to pull repository registry.access.redhat.com/hello-world ... failed Trying to pull repository docker.io/library/hello-world ... failed Error while pulling image: Get https://index.docker.io/v1/repositories/library/hello-world/images: x509: certificate is valid for FG3K6C3A1580002...