[Container-tools] Issue with concurrent docker image pulls

Jason Brooks jbrooks at redhat.com
Thu Jul 30 16:49:24 UTC 2015



----- Original Message -----
> From: "Lalatendu Mohanty" <lmohanty at redhat.com>
> To: "container-tools" <container-tools at redhat.com>
> Sent: Thursday, July 30, 2015 4:25:11 AM
> Subject: [Container-tools] Issue with concurrent docker image pulls
> 
> Hi,
> 
> Couple of us seeing issue with docker image pulls in the CentOS 7
> Vagrant box. I spent some time and felt that its a bug in docker 1.6.2
> and found the issue [1] in docker github repo. It seems the issue is
> fixed in docker 1.7.1.
> 
> So wanted to throw this information to the list and see if others are
> also in agreement or have more information about it.

I've resolved issues like this by switching to direct-lvm. In my 
Vagrantfile, I add another disk (libvirt.storage :file, :size => '10G'),
and then run a provision script to:

echo DEVS="/dev/vdb" > /etc/sysconfig/docker-storage-setup
echo VG="docker" >> /etc/sysconfig/docker-storage-setup
docker-storage-setup

Jason

> 
> vagrant at localhost ~]$ docker --version
> Docker version 1.6.2, build ba1f6c3/1.6.2
> 
> vagrant at localhost ~]$ sudo docker pull centos/httpd
> latest: Pulling from docker.io/centos/httpd
> 6941bfcbbfca: Pull complete
> 6941bfcbbfca: Download complete
> 41459f052977: Download complete
> fd44297e2ddb: Error downloading dependent layers
> 06d0d6cc01fc: Download complete
> 1634f53d8d34: Download complete
> f5d7d1d76e27: Download complete
> 72d3df4bba94: Download complete
> 4617321b355e: Download complete
> 9f74023d48fc: Download complete
> d3d3700d1c33: Download complete
> dabbf6687da0: Download complete
> 9c9ec0c21871: Download complete
> 9c9ec0c21871: Error pulling image (latest) from docker.io/centos/httpd,
> Driver devicemapper failed to create image rootfs
> fd44297e2ddb050ec4fa9752b7a4e3a8439061991886e2091e7c1f007c906d75: Error
> running DeviceCreFATA[0109] Error pulling image (latest) from
> docker.io/centos/httpd, Driver devicemapper failed to create image rootfs
> fd44297e2ddb050ec4fa9752b7a4e3a8439061991886e2091e7c1f007c906d75: Error
> running DeviceCreate (createSnapDevice) dm_task_run failed
> 
> 
> [1] https://github.com/docker/docker/issues/9718
> 
> Thanks,
> Lala
> 
> _______________________________________________
> Container-tools mailing list
> Container-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/container-tools
> 




More information about the Container-tools mailing list