{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/9718","labels_url":"https://api.github.com/repos/docker/docker/issues/9718/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/9718/comments","events_url":"https://api.github.com/repos/docker/docker/issues/9718/events","html_url":"https://github.com/docker/docker/issues/9718","id":52311228,"number":9718,"title":"Concurrent pulls fail","user":{"login":"jhspaybar","id":1356513,"avatar_url":"https://avatars.githubusercontent.com/u/1356513?v=3","gravatar_id":"","url":"https://api.github.com/users/jhspaybar","html_url":"https://github.com/jhspaybar","followers_url":"https://api.github.com/users/jhspaybar/followers","following_url":"https://api.github.com/users/jhspaybar/following{/other_user}","gists_url":"https://api.github.com/users/jhspaybar/gists{/gist_id}","starred_url":"https://api.github.com/users/jhspaybar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhspaybar/subscriptions","organizations_url":"https://api.github.com/users/jhspaybar/orgs","repos_url":"https://api.github.com/users/jhspaybar/repos","events_url":"https://api.github.com/users/jhspaybar/events{/privacy}","received_events_url":"https://api.github.com/users/jhspaybar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/Distribution","name":"Distribution","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/39","html_url":"https://github.com/docker/docker/milestones/1.8.0","labels_url":"https://api.github.com/repos/docker/docker/milestones/39/labels","id":1151952,"number":39,"title":"1.8.0","description":"","creator":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":5,"state":"open","created_at":"2015-06-05T19:27:06Z","updated_at":"2015-06-26T18:56:44Z","due_on":"2015-08-09T22:00:00Z","closed_at":null},"comments":40,"created_at":"2014-12-18T00:29:11Z","updated_at":"2015-06-29T19:02:47Z","closed_at":null,"body":"This issue seems to be triggered while pulling multiple images which map up to an identical base image.  A reproducible example is below.  This has been reproduced on Ubuntu 14.04 with DeviceMapper and the Amazon ECS-Optimized Amazon Linux AMI.  This has also been reproduced on Docker 1.3.3 and Docker 1.4.1.\r\n```\r\n    [ec2-user@ip-172-31-35-232 ~]$ docker version\r\n    Client version: 1.4.1\r\n    Client API version: 1.16\r\n    Go version (client): go1.3.3\r\n    Git commit (client): 5bc2ff8\r\n    OS/Arch (client): linux/amd64\r\n    Server version: 1.4.1\r\n    Server API version: 1.16\r\n    Go version (server): go1.3.3\r\n    Git commit (server): 5bc2ff8\r\n    [ec2-user@ip-172-31-35-232 ~]$ \r\n    [ec2-user@ip-172-31-35-232 ~]$ docker -D info\r\n    Containers: 0\r\n    Images: 0\r\n    Storage Driver: devicemapper\r\n    Pool Name: docker-202:1-1835239-pool\r\n    Pool Blocksize: 65.54 kB\r\n    Data file: /var/lib/docker/devicemapper/devicemapper/data\r\n    Metadata file: /var/lib/docker/devicemapper/devicemapper/metadata\r\n    Data Space Used: 307.2 MB\r\n    Data Space Total: 107.4 GB\r\n    Metadata Space Used: 725 kB\r\n    Metadata Space Total: 2.147 GB\r\n    Library Version: 1.02.82-git (2013-10-04)\r\n    Execution Driver: native-0.2\r\n    Kernel Version: 3.14.26-24.46.amzn1.x86_64\r\n    Operating System: Amazon Linux AMI 2014.09\r\n    CPUs: 1\r\n    Total Memory: 1.957 GiB\r\n    Name: ip-172-31-35-232\r\n    ID: 2RCA:OSRS:4M6S:XHJG:MAUC:IYAA:KIGE:K2HM:VBRF:SCXN:LTRD:T3WP\r\n    Debug mode (server): false\r\n    Debug mode (client): true\r\n    Fds: 57\r\n    Goroutines: 58\r\n    EventsListeners: 0\r\n    Init Path: /usr/bin/docker\r\n    Docker Root Dir: /var/lib/docker\r\n    [ec2-user@ip-172-31-35-232 ~]$ uname -a\r\n    Linux ip-172-31-35-232 3.14.26-24.46.amzn1.x86_64 #1 SMP Wed Dec 10 10:02:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux\r\n    [ec2-user@ip-172-31-35-232 ~]$ docker images\r\n    REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE\r\n    [ec2-user@ip-172-31-35-232 ~]$ cat repro\r\n    docker run nginx &\r\n    docker run mysql &\r\n    [ec2-user@ip-172-31-35-232 ~]$ sh repro\r\n    [ec2-user@ip-172-31-35-232 ~]$ Unable to find image 'mysql:latest' locally\r\n    Unable to find image 'nginx:latest' locally\r\n    mysql:latest: The image you are pulling has been verified\r\n     \r\n    f10807909bc5: Pulling fs layer\r\n    f6fab3b798be: Pulling fs layer\r\n    d832c6f40cc3: Pulling fs layer\r\n    cfab4f0d8972: Pulling fs layer\r\n    cf8221608a63: Pulling fs layer\r\n    4755e012c4cf: Pulling fs layer\r\n    e012a865bac8: Pulling fs layer\r\n    e2778dfe9ae9: Pulling fs layer\r\n    b15206a696ec: Pulling fs layer\r\n    9280b0f1af9a: Pulling fs layer\r\n    9f1c487e78cd: Pulling fs layer\r\n    10491040baf9: Pulling fs layer\r\n    d8978d323757: Pulling fs layer\r\n    f10807909bc5: Download complete\r\n    f10807909bc5: Extracting [=================================================> ] 89.69 MB/90.17 MB 0\r\n    d832c6f40cc3: Download complete\r\n    f10807909bc5: Pull complete\r\n    f10807909bc5: Download complete\r\n    f6fab3b798be: Error downloading dependent layers\r\n    d21beea329f5: Download complete\r\n    04499cf33a0e: Download complete\r\n    b15206a696ec: Downloading [====> ] 10.8 MB/118.7 MB 19s\r\n    b15206a696ec: Download complete\r\n    92360dceda1a: Download complete\r\n    9495a555677d: Download complete\r\n    911e2df03930: Download complete\r\n    88daddf047c6: Download complete\r\n    db8a64f62509: Download complete\r\n    e46b3488b010: Download complete\r\n    e46b3488b010: Error pulling image (latest) from nginx, Driver devicemapper failed to create image rootfs f10807909bc552de261ca7463effc467600c3dca68d8e7704425283a6911d2ca: device f10807909bc552de261ca7463effc467600c3dca68d8e7704425283a6911d2ca already exists 3dca68d8e7704425283a6911d2ca already exists\r\n    FATA[0032] Error pulling image (latest) from nginx, Driver devicemapper failed to create image rootfs f10807909bc552de261ca7463effc467600c3dca68d8e7704425283a6911d2ca: device f10807909bc552dea385835786ac: Error pulling image (latest) from mysql, Error mounting '/dev/mapper/docker-202:1-1835239-f6fab3b798be3174f45aa1eb731f8182705555f89c9026d8c1ef230cbf8301dd' on '/var/lib/docker/devicemapper/mnt/f6fab3b798be3174f45aa1eb731f8182705555f89c9026d8c1ef230cbf8301dd': invalid argument 9c9026d8c1ef230cbf8301dd': invalid argument\r\n    FATA[0034] Error pulling image (latest) from mysql, Error mounting '/dev/mapper/docker-202:1-1835239-f6fab3b798be3174f45aa1eb731f8182705555f89c9026d8c1ef230cbf8301dd' on '/var/lib/docker/devicemapper/mnt/f6fab3b798be3174f45aa1eb731f8182705555f89c9026d8c1ef230cbf8301dd': invalid argument\r\n    ^C\r\n    [ec2-user@ip-172-31-35-232 ~]$ docker ps -a\r\n    CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES\r\n    [ec2-user@ip-172-31-35-232 ~]$ docker images\r\n    REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE\r\n    <none> <none> f10807909bc5 5 weeks ago 85.1 MB\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/116797397","html_url":"https://github.com/docker/docker/issues/9718#issuecomment-116797397","issue_url":"https://api.github.com/repos/docker/docker/issues/9718","id":116797397,"user":{"login":"stevvooe","id":120601,"avatar_url":"https://avatars.githubusercontent.com/u/120601?v=3","gravatar_id":"","url":"https://api.github.com/users/stevvooe","html_url":"https://github.com/stevvooe","followers_url":"https://api.github.com/users/stevvooe/followers","following_url":"https://api.github.com/users/stevvooe/following{/other_user}","gists_url":"https://api.github.com/users/stevvooe/gists{/gist_id}","starred_url":"https://api.github.com/users/stevvooe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevvooe/subscriptions","organizations_url":"https://api.github.com/users/stevvooe/orgs","repos_url":"https://api.github.com/users/stevvooe/repos","events_url":"https://api.github.com/users/stevvooe/events{/privacy}","received_events_url":"https://api.github.com/users/stevvooe/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T19:02:47Z","updated_at":"2015-06-29T19:02:47Z","body":"@thaJeztah This has already been fixed by #14193. It is the same issue."}}