概述
docker 换版本库的问题
问题一:
Error response from daemon: Get https://registry.XXXXX.com/v2/: dial tcp 10.5.1.31:443: getsockopt: connection refused
问题二:
~# systemctl start docker.service
Failed to issue method call: Unit docker.service failed to load: No such file or directory. See system logs and 'systemctl status docker.service' for details.
命令不对
~# service docker restart
问题三:
~# service docker start
start: Job failed to start
Waiting for /var/run/docker.sock
unable to configure the Docker daemon with file /etc/docker/daemon.json: the following directives are specified both as a flag and in the configuration file: insecure-registries: (from flag: [cyregistry.cyai.com], from file: [http://cyregistry.cyai.com])
/etc/docker/daemon.json
和
vim /etc/default/docker
最后
以上就是含糊鞋垫为你收集整理的docker 换版本库的问题的全部内容,希望文章能够帮你解决docker 换版本库的问题所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复