当前位置:   article > 正文

k8s技术遇到的问题2--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

在:master节点

vim /etc/sysconfig/docker
OPTIONS='--selinux-enabled --log--driver=journald --signature-verification=false --registry-mirror= https://uoggbpok.mirror.aliyuncs.com --insecure-registry=10.0.0.11:5000'

systemctl restart docker
Job for docker.service failed because the control process exited with error code. See  ystemctl status docker.service" and "journalctl -xe" for details.
  • 1
  • 2
  • 3
  • 4
  • 5

原因:镜像存在问题
解决方法:

vim /etc/sysconfig/docker
OPTIONS='--selinux-enabled --log-driver=journald --signature-verification=false --registry-mirror=https://aeckruos.mirror.aliyuncs.com --insecure-registry=10.0.0.11:5000'

systemctl restart docker启动成功
  • 1
  • 2
  • 3
  • 4
本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/一键难忘520/article/detail/978485
推荐阅读
相关标签
  

闽ICP备14008679号