- 错误1:
启动docker镜像时报错:Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen
解决方法:重启docker -> systemctl restart docker
- 错误2:
启动docker时报错:Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
# 解决方案:检查daemon.json是否配置正确
cd /etc/docker/daemon.json
vi daemon.json
{ "registry-mirrors": ["https://ubjbax4m.mirror.aliyuncs.com"] }
systemctl daemon-reload
[root@localhost system]# sudo systemctl enable docker
Failed to execute operation: Access denied
[root@localhost system]# setenforce 0
yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-selinux \
docker-engine-selinux \
docker-engine