在RedHatLinux上安装docker 6.7
问题描述:
我正在按照文档https://docs.docker.com/engine/installation/rhel/的说明在RHEL 6.7上安装Docker。 当我运行命令在RedHatLinux上安装docker 6.7
sudo yum install docker-engine
我收到以下错误
Error: Package: docker-engine-1.9.1-1.el7.centos.x86_64 (dockerrepo)
Requires: libsystemd-journal.so.0(LIBSYSTEMD_JOURNAL_196)(64bit)
Error: Package: docker-engine-1.9.1-1.el7.centos.x86_64 (dockerrepo)
Requires: libsystemd-journal.so.0(LIBSYSTEMD_JOURNAL_195)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
按照该建议,我试图运行命令
sudo yum install docker-engine --skip-broken
这里是输出
Packages skipped because of dependency problems:
audit-libs-python-2.3.7-5.el6.x86_64 from RHEL-67-x86_64
docker-engine-1.9.1-1.el7.centos.x86_64 from dockerrepo
docker-engine-selinux-1.9.1-1.el7.centos.noarch from dockerrepo
libsemanage-python-2.0.43-5.1.el6.x86_64 from RHEL-67-x86_64
policycoreutils-python-2.0.83-24.el6.x86_64 from RHEL-67-x86_64
setools-libs-3.3.7-4.el6.x86_64 from RHEL-67-x86_64
setools-libs-python-3.3.7-4.el6.x86_64 from RHEL-67-x86_64
我如何解决上述问题并在RHEL 6.7上安装docker?
感谢您的回复。 –
最重要的是,像selinux这样的东西似乎对这个6.x RHEL和Docker 1.7有很大的干扰......有些策略必须输入才能解决问题,但很可能无法解决问题。我无法弄清楚。 (不幸的是,如果你能相信,那里有主机不提供RHEL 7)。 – Dexter