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内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复