在红帽上安装docker引擎

在红帽上安装docker引擎

我在安装 docker 时遇到这些错误。

我有这个 Linux 发行版:

Linux version 2.6.32-573.7.1.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) ) #1 SMP Thu Sep 10 13:42:16 EDT 2015

和错误:

---> Package docker-engine.x86_64 0:1.8.3-1.el7.centos will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.14)(64bit) for package: docker-engine-1.8.3-1.el7.centos.x86_64
--> Processing Dependency: systemd-units for package: docker-engine-1.8.3-1.el7.centos.x86_64
--> Finished Dependency Resolution
Error: Package: docker-engine-1.8.3-1.el7.centos.x86_64 (dockerrepo)
           Requires: systemd-units
Error: Package: docker-engine-1.8.3-1.el7.centos.x86_64 (dockerrepo)
           Requires: libc.so.6(GLIBC_2.14)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我已经安装了这些库,但是 docker 安装找不到它们:

./lib/i686/nosegneg/libc.so.6
./lib/libc.so.6
./lib64/libc.so.6

我不知道如何安装systemd-units

有人能给我解释一下吗?

提前致谢。

相关内容