Hi All,
I’ve trying to get docker working behind a corporate proxy. Following the document here:
Basically adding:
[Service]
Environment=“HTTP_PROXY=http://[username]:[password]@127.0.0.1:3128/”
under
/etc/systemd/system/docker.service.d/http-proxy.conf
But when running “docker pull hello-world” or “sudo docker pull hello-world”, got this error:
centos7 ~]$ docker pull hello-world
Using default tag: latest
Trying to pull repository docker. io/library/hello-world …
Pulling repository docker. io/library/hello-world
Error while pulling image: Get https: /index.docker.io/v1/repositories/library/hello-world/images: AuthorizedOnly
Looks around the web, but couldn’t find any “AuthorizedOnly” error reported before.
Any help appreciated!
Tuan