vim /usr/lib/systemd/system/docker.service 修改这个文件的ExecStart为如图 执行 systemctl daemon-reload 执行 systemctl start docker 结果如图: 相关文章: