Docker Community Forums

Share and learn in the Docker community.

Error response from daemon: Get https://registry-1.docker.io/v2/

docker

#61

this worked for me.
[root@slc06ptp java-8]# systemctl show --property=Environment docker
Environment=HTTP_PROXY=http://host:port
if above is empty
create this file
/etc/systemd/system/docker.service.d/http-proxy.conf
with this entry
[Service]
Environment=“HTTP_PROXY=http://host:port”

or
/etc/systemd/system/docker.service.d/https-proxy.conf

with this entry
[Service]
Environment=“HTTPS_PROXY=http://host:port”


#62

Was getting this error after a fresh install on Mac…

docker logout fixed it


#63

I have waste much time on this, change DNS do not fix problem, change registry works!!

you can try this

docker pull registry.docker-cn.com/library/ubuntu:16.04

if it works, you can change you setting

This is a Chinese mirror, hope it will helps

https://www.docker-cn.com/registry-mirror