当前位置:   article > 正文

docker配置出错Job for docker.service failed because the control process exited with error code解决方法

job for docker.service failed because the control process exited with error

更新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格式就行,然后重新启动就成功了

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/爱喝兽奶帝天荒/article/detail/978428
推荐阅读
相关标签
  

闽ICP备14008679号