docker desktop运行报错


报错信息

Error response from daemon: Get "https://registry-1.docker.io/v2/": dialing registry-1.docker.io:443 container via direct connection because has no HTTPS proxy: resolving host registry-1.docker.io: lookup registry-1.docker.io: no such host

修改配置文件: 用户目录/.docker/daemon.json
{“registry-mirrors”: [“https://registry.docker-cn.com","http://hub-mirror.c.163.com"]}


评论
  目录