centos 6.1은 도커를 설치할 수 없습니다

centos 6.1은 도커를 설치할 수 없습니다
[root@tomcat bin]# yum install docker-ce docker-ce-cli containerd.io
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos.vargonen.com
 * epel: mirror.de.leaseweb.net
 * extras: centos.vargonen.com
 * rpmforge: mirrors.nav.ro
 * updates: centos.vargonen.com
docker-ce-stable                                                                                                                                                                                                      | 3.5 kB     00:00
docker-ce-stable/primary_db                                                                                                                                                                                           |  28 kB     00:00
docker-ce-test                                                                                                                                                                                                        | 3.5 kB     00:00
docker-ce-test/primary_db                                                                                                                                                                                             |  87 kB     00:00
Resolving Dependencies
--> Running transaction check
---> Package containerd.io.x86_64 0:1.2.5-3.1.el7 will be installed
--> Processing Dependency: systemd for package: containerd.io-1.2.5-3.1.el7.x86_64
--> Processing Dependency: systemd for package: containerd.io-1.2.5-3.1.el7.x86_64
---> Package docker-ce.x86_64 3:19.03.0-1.4.beta4.el7 will be installed
--> Processing Dependency: container-selinux >= 2.9 for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
--> Processing Dependency: libseccomp >= 2.3 for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
--> Processing Dependency: libcgroup for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
--> Processing Dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit) for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
--> Processing Dependency: systemd-units for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
--> Processing Dependency: xz for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
--> Processing Dependency: libseccomp.so.2()(64bit) for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
--> Processing Dependency: libsystemd.so.0()(64bit) for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
---> Package docker-ce-cli.x86_64 1:19.03.0-1.4.beta4.el7 will be installed
--> Running transaction check
---> Package containerd.io.x86_64 0:1.2.5-3.1.el7 will be installed
--> Processing Dependency: systemd for package: containerd.io-1.2.5-3.1.el7.x86_64
--> Processing Dependency: systemd for package: containerd.io-1.2.5-3.1.el7.x86_64
---> Package docker-ce.x86_64 3:19.03.0-1.4.beta4.el7 will be installed
--> Processing Dependency: container-selinux >= 2.9 for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
--> Processing Dependency: libseccomp >= 2.3 for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
--> Processing Dependency: libsystemd.so.0(LIBSYSTEMD_209)(64bit) for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
--> Processing Dependency: systemd-units for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.17)(64bit) for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
--> Processing Dependency: libseccomp.so.2()(64bit) for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
--> Processing Dependency: libsystemd.so.0()(64bit) for package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64
---> Package libcgroup.x86_64 0:0.40.rc1-27.el6_10 will be installed
---> Package xz.x86_64 0:4.999.9-0.5.beta.20091007git.el6 will be installed
--> Finished Dependency Resolution
Error: Package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64 (docker-ce-test)
           Requires: libc.so.6(GLIBC_2.17)(64bit)
Error: Package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64 (docker-ce-test)
           Requires: systemd-units
Error: Package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64 (docker-ce-test)
           Requires: libsystemd.so.0()(64bit)
Error: Package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64 (docker-ce-test)
           Requires: libseccomp.so.2()(64bit)
Error: Package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64 (docker-ce-test)
           Requires: libsystemd.so.0(LIBSYSTEMD_209)(64bit)
Error: Package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64 (docker-ce-test)
           Requires: container-selinux >= 2.9
Error: Package: containerd.io-1.2.5-3.1.el7.x86_64 (docker-ce-stable)
           Requires: systemd
Error: Package: 3:docker-ce-19.03.0-1.4.beta4.el7.x86_64 (docker-ce-test)
           Requires: libseccomp >= 2.3
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

이 오류가 발생합니다.

나는 이 튜토리얼을 따랐다.

https://docs.docker.com/install/linux/docker-ce/centos/

내가 그랬어

--skip-broken

하지만 이번에는

[root@tomcat bin]# systemctl start docker
-bash: systemctl: command not found
[root@tomcat bin]# docker run hello-world
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
See 'docker run --help'.
[root@tomcat bin]# service docker start
docker: unrecognized service

이러한 오류가 발생합니다.

답변1

docker-ce센토스 6은 지원되지 않습니다.

운영 체제 요구 사항

Docker CE를 설치하려면 CentOS 7의 유지 관리 릴리스가 필요합니다. 보관된 버전은 지원되거나 테스트되지 않습니다.

관련 정보