{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/22343","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/22343/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/22343/comments","events_url":"https://api.github.com/repos/docker/docker/issues/22343/events","html_url":"https://github.com/docker/docker/issues/22343","id":151232400,"number":22343,"title":"`docker run` fails on missing aufs layer","user":{"login":"kevinjqiu","id":84321,"avatar_url":"https://avatars.githubusercontent.com/u/84321?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinjqiu","html_url":"https://github.com/kevinjqiu","followers_url":"https://api.github.com/users/kevinjqiu/followers","following_url":"https://api.github.com/users/kevinjqiu/following{/other_user}","gists_url":"https://api.github.com/users/kevinjqiu/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinjqiu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinjqiu/subscriptions","organizations_url":"https://api.github.com/users/kevinjqiu/orgs","repos_url":"https://api.github.com/users/kevinjqiu/repos","events_url":"https://api.github.com/users/kevinjqiu/events{/privacy}","received_events_url":"https://api.github.com/users/kevinjqiu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/area/storage/aufs","name":"area/storage/aufs","color":"fbca04"},{"url":"https://api.github.com/repos/docker/docker/labels/status/more-info-needed","name":"status/more-info-needed","color":"C6A49A"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-26T20:33:47Z","updated_at":"2016-04-28T14:28:08Z","closed_at":"2016-04-28T14:28:08Z","body":"This is possibly alpine Linux related.\r\n\r\n**Output of `docker version`:**\r\n\r\n```\r\nClient version: 1.7.1\r\nClient API version: 1.19\r\nGo version (client): go1.4.2\r\nGit commit (client): 5eaaa01\r\nOS/Arch (client): linux/amd64\r\nServer version: 1.7.1\r\nServer API version: 1.19\r\nGo version (server): go1.4.2\r\nGit commit (server): 5eaaa01\r\nOS/Arch (server): linux/amd64\r\n```\r\n\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\nContainers: 11\r\nImages: 145\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 161\r\n Dirperm1 Supported: false\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nKernel Version: 3.13.0-79-generic\r\nOperating System: Ubuntu precise (12.04.2 LTS)\r\nCPUs: 4\r\nTotal Memory: 7.798 GiB\r\nName: prod-builds-18\r\nID: 3SKS:SQB3:HTKQ:4AVW:YHQ5:CX2X:MA5U:RAL5:RL6K:CML2:URQA:44GG\r\nWARNING: No swap limit support\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\nPhysical machine.\r\n\r\n\r\n**Steps to reproduce the issue:**\r\n1. docker pull on an image, all the layers successfully downloaded, but pull resulted in a failure:\r\n```\r\ndocker pull dev-docker.points.com:80/mountebank\r\nlatest: Pulling from dev-docker.points.com:80/mountebank\r\n1348eb573a47: Pull complete \r\nbb7044f479ac: Pull complete \r\nf8c187edf56a: Pull complete \r\n4d4dccb42bd7: Pull complete \r\n74d53083ab47: Pull complete \r\n4725f8ca753f: Pull complete \r\na91ec41f9117: Pull complete \r\n65fac5d2c1a0: Pull complete \r\nPulling repository dev-docker.points.com:80/mountebank\r\nError: image mountebank:latest not found\r\n```\r\n2. immediately re-issue the pull command, this time, the pull succeeded:\r\n```\r\ndocker pull dev-docker.points.com:80/mountebank\r\nlatest: Pulling from dev-docker.points.com:80/mountebank\r\n1348eb573a47: Already exists \r\nbb7044f479ac: Already exists \r\nf8c187edf56a: Already exists \r\n4d4dccb42bd7: Already exists \r\n74d53083ab47: Already exists \r\n4725f8ca753f: Already exists \r\na91ec41f9117: Already exists \r\n65fac5d2c1a0: Already exists \r\nDigest: sha256:f7cdb7a48e6c797f4898407c1b177de62b65d6d0cf2818d4e1cfcf017b3c652a\r\nStatus: Downloaded newer image for dev-docker.points.com:80/mountebank:latest\r\n```\r\n\r\n3. create a container from the image by using `docker run ...`\r\n\r\n\r\n**Describe the results you received:**\r\n```\r\ndocker run dev-docker.points.com:80/mountebank\r\nError response from daemon: open /var/lib/docker/aufs/layers/65fac5d2c1a0537a7b171da39ac04010aa642861ec24c583d476926e53666017: no such file or directory\r\n```\r\n\r\nand checking `/var/lib/docker/aufs/layers/` folder, and indeed the said folder does not exist.\r\n\r\n**Describe the results you expected:**\r\nA container is created from the image and is running.\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\nThe mountebank docker image is from: https://hub.docker.com/r/kevinjqiu/mountebank/\r\nIt's built from an alpine linux base. On switching to a debian based image, the problem does not occur."},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/215443933","html_url":"https://github.com/docker/docker/issues/22343#issuecomment-215443933","issue_url":"https://api.github.com/repos/docker/docker/issues/22343","id":215443933,"user":{"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},"created_at":"2016-04-28T14:28:08Z","updated_at":"2016-04-28T14:28:08Z","body":"Thanks for testing! I'll close this"}}