{"action":"created","issue":{"url":"https://api.github.com/repos/moby/moby/issues/22260","repository_url":"https://api.github.com/repos/moby/moby","labels_url":"https://api.github.com/repos/moby/moby/issues/22260/labels{/name}","comments_url":"https://api.github.com/repos/moby/moby/issues/22260/comments","events_url":"https://api.github.com/repos/moby/moby/issues/22260/events","html_url":"https://github.com/moby/moby/issues/22260","id":150446418,"number":22260,"title":"Unable to remove a stopped container: `device or resource busy`","user":{"login":"pheuter","id":92698,"avatar_url":"https://avatars3.githubusercontent.com/u/92698?v=4","gravatar_id":"","url":"https://api.github.com/users/pheuter","html_url":"https://github.com/pheuter","followers_url":"https://api.github.com/users/pheuter/followers","following_url":"https://api.github.com/users/pheuter/following{/other_user}","gists_url":"https://api.github.com/users/pheuter/gists{/gist_id}","starred_url":"https://api.github.com/users/pheuter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pheuter/subscriptions","organizations_url":"https://api.github.com/users/pheuter/orgs","repos_url":"https://api.github.com/users/pheuter/repos","events_url":"https://api.github.com/users/pheuter/events{/privacy}","received_events_url":"https://api.github.com/users/pheuter/received_events","type":"User","site_admin":false},"labels":[{"id":51827088,"url":"https://api.github.com/repos/moby/moby/labels/area/storage/aufs","name":"area/storage/aufs","color":"fbca04","default":false},{"id":375217742,"url":"https://api.github.com/repos/moby/moby/labels/version/1.11","name":"version/1.11","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":167,"created_at":"2016-04-22T18:56:49Z","updated_at":"2018-03-06T18:31:33Z","closed_at":null,"author_association":"NONE","body":"Apologies if this is a duplicate issue, there seems to be several outstanding issues around a very similar error message but under different conditions. I initially added a comment on #21969 and was told to open a separate ticket, so here it is!\n\n---\n## BUG REPORT INFORMATION\n\n**Output of `docker version`:**\n\n```\nClient:\n Version:      1.11.0\n API version:  1.23\n Go version:   go1.5.4\n Git commit:   4dc5990\n Built:        Wed Apr 13 18:34:23 2016\n OS/Arch:      linux/amd64\n\nServer:\n Version:      1.11.0\n API version:  1.23\n Go version:   go1.5.4\n Git commit:   4dc5990\n Built:        Wed Apr 13 18:34:23 2016\n OS/Arch:      linux/amd64\n```\n\n**Output of `docker info`:**\n\n```\nContainers: 2\n Running: 2\n Paused: 0\n Stopped: 0\nImages: 51\nServer Version: 1.11.0\nStorage Driver: aufs\n Root Dir: /var/lib/docker/aufs\n Backing Filesystem: extfs\n Dirs: 81\n Dirperm1 Supported: false\nLogging Driver: json-file\nCgroup Driver: cgroupfs\nPlugins:\n Volume: local\n Network: bridge null host\nKernel Version: 3.13.0-74-generic\nOperating System: Ubuntu 14.04.3 LTS\nOSType: linux\nArchitecture: x86_64\nCPUs: 1\nTotal Memory: 3.676 GiB\nName: ip-10-1-49-110\nID: 5GAP:SPRQ:UZS2:L5FP:Y4EL:RR54:R43L:JSST:ZGKB:6PBH:RQPO:PMQ5\nDocker Root Dir: /var/lib/docker\nDebug mode (client): false\nDebug mode (server): false\nRegistry: https://index.docker.io/v1/\nWARNING: No swap limit support\n```\n\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\n\nRunning on Ubuntu 14.04.3 LTS HVM in AWS on an m3.medium instance with an EBS root volume.\n\n**Steps to reproduce the issue:**\n1. `$ docker run --restart on-failure --log-driver syslog --log-opt syslog-address=udp://localhost:514 -d -p 80:80 -e SOME_APP_ENV_VAR myimage`\n2. Container keeps shutting down and restarting due to a bug in the runtime and exiting with an error\n3. Manually running `docker stop container`\n4. Container is successfully stopped\n5. Trying to rm container then throws the error: `Error response from daemon: Driver aufs failed to remove root filesystem 88189a16be60761a2c04a455206650048e784d750533ce2858bcabe2f528c92e: rename /var/lib/docker/aufs/diff/a48629f102d282572bb5df964eeec7951057b50f21df7abe162f8de386e76dc0 /var/lib/docker/aufs/diff/a48629f102d282572bb5df964eeec7951057b50f21df7abe162f8de386e76dc0-removing: device or resource busy`\n6. Restart docker engine: `$ sudo service docker restart`\n7. `$ docker ps -a` shows that the container no longer exists.\n"},"comment":{"url":"https://api.github.com/repos/moby/moby/issues/comments/370881270","html_url":"https://github.com/moby/moby/issues/22260#issuecomment-370881270","issue_url":"https://api.github.com/repos/moby/moby/issues/22260","id":370881270,"user":{"login":"antoinetran","id":14093758,"avatar_url":"https://avatars1.githubusercontent.com/u/14093758?v=4","gravatar_id":"","url":"https://api.github.com/users/antoinetran","html_url":"https://github.com/antoinetran","followers_url":"https://api.github.com/users/antoinetran/followers","following_url":"https://api.github.com/users/antoinetran/following{/other_user}","gists_url":"https://api.github.com/users/antoinetran/gists{/gist_id}","starred_url":"https://api.github.com/users/antoinetran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoinetran/subscriptions","organizations_url":"https://api.github.com/users/antoinetran/orgs","repos_url":"https://api.github.com/users/antoinetran/repos","events_url":"https://api.github.com/users/antoinetran/events{/privacy}","received_events_url":"https://api.github.com/users/antoinetran/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T18:31:33Z","updated_at":"2018-03-06T18:31:33Z","author_association":"NONE","body":"You said RHEL 7, but did you read the part of this thread that says this is fixed in RedHat >= 7.4 and docker-ce >= 17.09?"}}
{"actor":{"display_login":"antoinetran"}}