I’m moving dockers around. Most of my machines are Intel running CentOS 7. But on one Opteron running CentOS 7 (but same kernel than the intel) I got the next error when running yum.
yum install docker ..stuff here, repository list, fastest mirrors... Resolving Dependencies --> Running transaction check ...the checks here... ---> Package libsepol-devel.x86_64 0:2.5-8.1.el7 will be an update --> Finished Dependency Resolution Error: Package: 1:atomic-registries-XXX.el7.centos.x86_64 (extras) Requires: python-pytoml Available: python-pytoml-0.1.14-1.XXX.el7.noarch (extras) python-pytoml = 0.1.14-1.XXX.el7 Available: python2-pytoml-0.1.18-1.el7.noarch (epel) python-pytoml = 0.1.18-1.el7 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
The same command works flawlessly on other machines. Maybe it’s my machine, that has remnants from other installations. Maybe it is Opteron, maybe it’s something else. But let’s fix it. First we better be sure there’s no previous docker installed on the system:
yum remove docker docker-client \ docker-client-latest docker-common \ docker-latest docker-latest-logrotate \ docker-logrotate docker-selinux \ docker-engine-selinux docker-engine
Then we apply the official patch to install it.
wget -qO- https://get.docker.com/ | sh
After that, everything seems to work! Time to move my babies around! I want to try to convert my servers to dockers so that I stop doing what I call the dance: this server here, this GPU card there, this RAM removed, this RAM added 🙂 a lonesome and tiring job the one of the moving man 😛