You are not logged in.

#1 2014-04-12 23:13:08

asg1448
Member
Registered: 2014-04-12
Posts: 74

[SOLVED] docker will not pull images

I'm kinda noob with docker (and arch for the same matter), but the instructions on how to made docker work are pretty simple, I don't there's much to screw up. Here's what I'm getting when I try to pull an image (as root) :

# docker pull  ubuntu
Pulling repository ubuntu
ab4344e23e3a: Error pulling image (raring) from ubuntu, Driver devicemapper failed to create image rootfs 9109d385566eb2e6bdf795e15b52f88406b1f206ee5770e082f697cdc2ef19: Error pulling image (quantal) from ubuntu, Driver devicemapper failed to create image rootfs 01bdd5cc09de2750cf3409eb75a68caf28ffc74e5fcd3ccc62aade3faa43c9b6: Error mounting '/dev/mapper/docker-254:1-6815869-01bdd5cc09de2750cf3409eb75a68caf28ffc74e5fcd3ccc62aade3faa43c9b6' on '/var/lib/docker/devic0fe63f9a4c1: Error pulling image (12.04) from ubuntu, Driver devicemapper failed to create image rootfs 79fdb1362c848d06252eb2cb466fe196d1f852b11d8c4532b2125593492b938: Error pulling image (13.10) from ubuntu, Driver devicemapper failed to create image rootfs d0732e6ce5634e940c924d8646f8081a0fb95c18bf31e978e77fc3396fea6b9a: Error mounting '/dev/mapper/docker-254:1-6815869-d0732e6ce5634e940c924d8646f8081a0fb95c18bf31e978e77fc3396fea6b9a' on '/var/lib/docker/devicemapper/mnt/d0732e6ce5634e940c924d8646f8081a0fb95c18bf31e978e77fc3396fea6b9a': invalid argument 5c18bf31e978e77fc3396fea6b9a': invalid argument 
9109d385566e: Error downloading dependent layers 
6170bb7b0ad1: Download complete 
79fdb1362c84: Error downloading dependent layers 
9a8b9d29f4fc: Error downloading dependent layers 
1c7f181e78b9: Download complete 
d0732e6ce563: Error downloading dependent layers 
01bdd5cc09de: Error downloading dependent layers 
2014/04/12 16:00:45 Could not find repository on any of the indexed registries.

Anyone knows wtf is going on? I am suspecting that what I do need is aufs. Running `cat /proc/filesystems | grep aufs` yields nothing. I don't see anything in oficial repositories either, there's aufs3 in AUR, but that requires custom built kernelm and I'm not sure that I want to go that far just to be able to run docker. It's my understanding that docker should run on almost anything, so what the heck.

Ideas?..

**UPDATE**: I just downgraded a kernel to linux-lts, and same issue

Last edited by asg1448 (2014-07-07 22:53:11)

Offline

#2 2014-04-13 00:05:25

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: [SOLVED] docker will not pull images

1. Is the docker daemon running? If so restart it and check journalctl for any errors. If not, start it and check for errors.
2. You don't need and aufs kernel. Docker uses devicemapper automatically when aufs isn't available.
3. Post your 'docker info' output.
4. If you still have troubles, stop the daemon, delete everything in /var/lib/docker (save anything you need to save!)  and restart the daemon.

Scott

Offline

#3 2014-04-13 04:02:38

asg1448
Member
Registered: 2014-04-12
Posts: 74

Re: [SOLVED] docker will not pull images

removing everything in /var/lib/docker worked out. Thanks

Offline

Board footer

Powered by FluxBB