docker: Error response from daemon: Get read: connection reset by peer 解决方案

vi /etc/docker/daemon.json 误写成 vi /etc/docker/deamon.json

误操作真害死人,调了好久才发现是文件名写错了,以后一定要注意细节,是daemon.json

daemon.json内容如下

{
	"registry-mirrors": [
		"http://hub-mirror.c.163.com",
		"https://reg-mirror.qiniu.com",
		"http://f1361db2.m.daocloud.io",
		"https://docker.mirrors.ustc.edu.cn",
		"https://registry.docker-cn.com"
	]
}

systemctl daemon-reload
或重启:
systemctl restart docker

你可能感兴趣的:(docker,容器,运维)