Hi. Total Docker NB here. I’ve tried this on at least 5 different versions of Linux and always hit the same wall. I can install Docker, start the service, and run the hello-world successfully. But whenever I try to pull any other image (e.g. ubuntu, nginx) it pulls the pieces in parallel and then ends up with the filesystem layer verification failure. So hopefully I am just doing the same incorrect steps consistently!
I’m currently trying it on CentOS 7 (as a Virtualbox VM), uname gives
3.10.0-514.el7.x86_64
Docker version is 1.10.3
I am shocked that I have not seen this question asked and answered online. So I guess it is something I am doing.
For CentOS 7 I merely did (all as root):
yum install docker
systemctl start docker
systemctl status docker
systemctl enable docker
docker run hello-world
(works)
docker pull ubuntu
(fails).
The only issues I’ve seen relate to AWS and I’m not using AWS. Is it a SHA key issue or something? Nothing ever mentions key setup in docker installation. Some other comment I saw hinted that it fails when trying to pull multiple pieces in parallel (hello-world is a single chunk). I have no way to verify this. What’s another tiny image I can try? The other thing I wonder is the file system of the OS vs what docker expects? I believe the filesystem type is xfs. Is that an issue?
I’d really like to fool around with docker but obviously this is a show stopper. Any help would be appreciated!
Thanks
Update:
One other note. One reason I am running this in a Virtualbox VM is because docker wants one of the later Linux kernels and my host machine is CentOS 6.8 which isn’t quite recent enough for a simple (i.e. yum) docker install and don’t want to risk gaking my main machine just to install docker. So I figured using CentOS 7 in a VM would be the simple way around this. Are there issues with docker in a Virtualbox guest host? I’m really stuck here. Has no one run into this before?
Thanks