Intro
I think I’ve been running CentOS 6 for six years now. With upgrades I’m at v 6.9. It was nice and new six years ago, but not so much anymore. I think it showed its age when I tried to run Docker. It just wouldn’t fly an I don’t feel like debugging it. The conventional wisdom seems to be that it is not possible – the two are incompatible, which further discouraged me.
Here are my notes
followed https://www.liquidweb.com/kb/how-to-install-docker-on-centos-6/ - DrJ 6/18/18 my problem: level=error msg="[graphdriver] prior storage driver \"devicemapper\" failed: Error running DeviceCreate (CreatePool) dm_tas k_run failed" https://github.com/moby/moby/issues/13008 docker -d -D ... DEBU[0000] Warning: could not change group /var/run/docker.sock to docker: Group docker not found INFO[0000] Listening for HTTP on unix (/var/run/docker.sock) WARN[0000] You are running linux kernel version 2.6.32-131.17.1.el6.x86_64, which might be unstable running docker. Please upgrade your kernel to 3.10.0. DEBU[0000] devicemapper: driver version is 4.20.6 DEBU[0000] Generated prefix: docker-202:65-131224 DEBU[0000] Checking for existence of the pool 'docker-202:65-131224-pool' DEBU[0000] Pool doesn't exist. Creating it. DEBU[0000] Error retrieving the next available loopback: open /dev/loop-control: no such file or directory DEBU[0000] Error retrieving the next available loopback: open /dev/loop-control: no such file or directory ERRO[0000] [graphdriver] prior storage driver "devicemapper" failed: Error running DeviceCreate (CreatePool) dm_task_run fa iled FATA[0000] Error starting daemon: error initializing graphdriver: Error running DeviceCreate (CreatePool) dm_task_run faile d john@ip-10-164-80-53:~$ docker -v Docker version 1.7.1, build 786b29d/1.7.1 trying: yum install --setopt=obsoletes=0 \ docker-ce-17.03.2.ce-1.el7.centos.x86_64 \ docker-ce-selinux-17.03.2.ce-1.el7.centos.noarch (from https://github.com/docker/for-linux/issues/20) |
Conclusion
Running docker on CentOS v 6.9 in 2018 may be impossible or so difficult as to be practically impossible. I give up.