当前位置:   article > 正文

docker服务启动 Failed to start docker.service: Unit not found._failed to start docekr.service: unit not found

failed to start docekr.service: unit not found
[root@localhost docker-ce]# docker images
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[root@localhost docker-ce]# service docker start
Redirecting to /bin/systemctl start docker.service
Failed to start docker.service: Unit not found.
  • 1
  • 2
  • 3
  • 4
  • 5
-bash-4.2# ll
total 120712
-rw-r--r-- 1 root root   104408 May 19 09:37 audit-libs-2.8.5-4.el7.x86_64.rpm
-rw-r--r-- 1 root root    78256 May 19 09:37 audit-libs-python-2.8.5-4.el7.x86_64.rpm
-rw-r--r-- 1 root root 35130608 Jan 19 20:01 containerd.io-1.4.6-3.1.el7.x86_64.rpm
-rw-r--r-- 1 root root    40816 Jan 19 20:01 container-selinux-2.119.2-1.911c772.el7_8.noarch.rpm
-rw-r--r-- 1 root root 27902344 May 19 09:37 docker-ce-20.10.7-3.el7.x86_64 (1).rpm
-rw-r--r-- 1 root root 34717572 May 19 09:37 docker-ce-cli-20.10.7-3.el7.x86_64.rpm
-rw-r--r-- 1 root root  9659320 May 19 09:37 docker-ce-rootless-extras-20.10.7-3.el7.x86_64.rpm
-rw-r--r-- 1 root root  4373740 May 19 09:37 docker-scan-plugin-0.8.0-3.el7.x86_64.rpm
-rw-r--r-- 1 root root    83764 May 19 09:37 fuse3-libs-3.6.1-4.el7.x86_64.rpm
-rw-r--r-- 1 root root    95424 May 19 09:37 fuse-libs-2.9.2-11.el7.x86_64.rpm
-rw-r--r-- 1 root root    55796 May 19 09:37 fuse-overlayfs-0.7.2-6.el7_8.x86_64.rpm
-rw-r--r-- 1 root root    67720 May 19 09:37 libcgroup-0.41-21.el7.x86_64.rpm
-rw-r--r-- 1 root root   101800 May 19 09:37 libcgroup-tools-0.41-21.el7.x86_64.rpm
-rw-r--r-- 1 root root    56824 May 19 09:37 libnetfilter_conntrack-1.0.6-1.el7_3.x86_64.rpm
-rw-r--r-- 1 root root    57460 May 19 09:37 libseccomp-2.3.1-4.el7.x86_64.rpm
-rw-r--r-- 1 root root   166012 May 19 09:37 libselinux-2.5-15.el7.x86_64.rpm
-rw-r--r-- 1 root root   154876 May 19 09:37 libselinux-utils-2.5-15.el7.x86_64.rpm
-rw-r--r-- 1 root root   154244 May 19 09:37 libsemanage-2.5-14.el7.x86_64.rpm
-rw-r--r-- 1 root root   115284 May 19 09:37 libsemanage-python-2.5-14.el7.x86_64.rpm
-rw-r--r-- 1 root root   304196 May 19 09:37 libsepol-2.5-10.el7.x86_64.rpm
-rw-r--r-- 1 root root    78740 May 19 09:37 libsepol-devel-2.5-10.el7.x86_64 (1).rpm
-rw-r--r-- 1 root root    78740 May 19 09:37 libsepol-devel-2.5-10.el7.x86_64.rpm
-rw-r--r-- 1 root root   938736 May 19 09:37 policycoreutils-2.5-34.el7.x86_64.rpm
-rw-r--r-- 1 root root   468316 May 19 09:37 policycoreutils-python-2.5-34.el7.x86_64.rpm
-rw-r--r-- 1 root root   509568 May 19 09:37 selinux-policy-3.13.1-268.el7_9.2.noarch.rpm
-rw-r--r-- 1 root root  7335504 May 19 09:37 selinux-policy-targeted-3.13.1-268.el7_9.2.noarch.rpm
-rw-r--r-- 1 root root   635184 May 19 09:37 setools-libs-3.3.8-4.el7.x86_64.rpm
-rw-r--r-- 1 root root    83452 May 19 09:37 slirp4netns-0.4.3-4.el7_8.x86_64.rpm
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30

不能少 container*

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

闽ICP备14008679号