更新docker配置文件daemon.json出现问题报错
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
前面启动一直没有问题,网上搜了解决方法将文件格式改为daemon.conf就好了,折腾了半天才搞明白,原来我在daemon.json文件添加注释用的#,
在这里插入图片描述
这种注释是不被允许的,如果想用#添加注释就把daemon.json格式改成daemon.conf格式就行,然后重新启动就成功了

Logo

技术共进,成长同行——讯飞AI开发者社区

更多推荐