安装docker后,启动报错Job for docker.service failed because the control process exited with error code. See “systemctl status docker.service” and “journalctl -xe” for details.

解决方案:

输入vim /etc/sysconfig/docker-storage 进入编辑器,输入i,右下方出现insert,把源文件内容删除改为:
DOCKER_STORAGE_OPTIONS="–selinux-enabled --log-driver=journald --signature-verification=false"
改好后,按下esc键,然后输入:wq退出
安装docker后,启动报错Job for docker.service failed because the control process exited with error code. See
退出后,继续输入 vim /etc/docker/daemon.json ,操作同上。
写入指定参数:
{ “storage-driver”: “devicemapper” }
安装docker后,启动报错Job for docker.service failed because the control process exited with error code. See
然后重启docker服务
systemctl restart docker

相关文章:

  • 2021-04-12
  • 2021-08-08
  • 2022-12-23
  • 2021-07-21
  • 2021-04-19
  • 2021-10-22
  • 2021-06-04
  • 2021-11-10
猜你喜欢
  • 2021-07-31
  • 2021-11-15
  • 2021-04-18
  • 2021-07-31
  • 2021-08-30
相关资源
相似解决方案