{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/29154","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/29154/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/29154/comments","events_url":"https://api.github.com/repos/docker/docker/issues/29154/events","html_url":"https://github.com/docker/docker/issues/29154","id":193652814,"number":29154,"title":"Bug: Could not remove unused volume","user":{"login":"phatle","id":1740644,"avatar_url":"https://avatars.githubusercontent.com/u/1740644?v=3","gravatar_id":"","url":"https://api.github.com/users/phatle","html_url":"https://github.com/phatle","followers_url":"https://api.github.com/users/phatle/followers","following_url":"https://api.github.com/users/phatle/following{/other_user}","gists_url":"https://api.github.com/users/phatle/gists{/gist_id}","starred_url":"https://api.github.com/users/phatle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phatle/subscriptions","organizations_url":"https://api.github.com/users/phatle/orgs","repos_url":"https://api.github.com/users/phatle/repos","events_url":"https://api.github.com/users/phatle/events{/privacy}","received_events_url":"https://api.github.com/users/phatle/received_events","type":"User","site_admin":false},"labels":[{"id":439928930,"url":"https://api.github.com/repos/docker/docker/labels/area/volumes","name":"area/volumes","color":"fbca04","default":false},{"id":182417459,"url":"https://api.github.com/repos/docker/docker/labels/status/more-info-needed","name":"status/more-info-needed","color":"C6A49A","default":false},{"id":375714123,"url":"https://api.github.com/repos/docker/docker/labels/version/1.12","name":"version/1.12","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-12-06T00:44:35Z","updated_at":"2016-12-06T01:57:09Z","closed_at":null,"body":"<!--\r\nIf you are reporting a new issue, make sure that we do not have any duplicates\r\nalready open. You can ensure this by searching the issue list for this\r\nrepository. If there is a duplicate, please close your issue and add a comment\r\nto the existing issue instead.\r\n\r\nIf you suspect your issue is a bug, please edit your issue description to\r\ninclude the BUG REPORT INFORMATION shown below. If you fail to provide this\r\ninformation within 7 days, we cannot debug your issue and will close it. We\r\nwill, however, reopen it if you later provide the information.\r\n\r\nFor more information about reporting issues, see\r\nhttps://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues\r\n\r\n---------------------------------------------------\r\nGENERAL SUPPORT INFORMATION\r\n---------------------------------------------------\r\n\r\nThe GitHub issue tracker is for bug reports and feature requests.\r\nGeneral support can be found at the following locations:\r\n\r\n- Docker Support Forums - https://forums.docker.com\r\n- IRC - irc.freenode.net #docker channel\r\n- Post a question on StackOverflow, using the Docker tag\r\n\r\n---------------------------------------------------\r\nBUG REPORT INFORMATION\r\n---------------------------------------------------\r\nUse the commands below to provide key information from your environment:\r\nYou do NOT have to include this information if this is a FEATURE REQUEST\r\n-->\r\n\r\n**Description**\r\n\r\nCould not remove the volume even that there is no container associated with that volume.\r\n\r\n<!--\r\nBriefly describe the problem you are having in a few paragraphs.\r\n-->\r\n\r\n**Steps to reproduce the issue:**\r\n1. Use [docker-sync](http://docker-sync.io/) to create a volume\r\n2. Stop all containers, restart the docker daemon, and also restart the machine\r\n3. docker volume rm volumne_name got failed\r\n\r\n**Describe the results you received:**\r\n`$ docker ps`\r\nCONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES\r\n`$ docker volume rm eh_sync`\r\nError response from daemon: Unable to remove volume, volume still in use: remove eh_sync: volume is in use - [26601c6b63deb9526da4ab550b34d312917e78c431b2b61dbed41722143d2843]\r\n\r\n**Describe the results you expected:**\r\n\r\nThe volume should be removed.\r\n\r\n**Additional information you deem important (e.g. issue happens only occasionally):**\r\n\r\n**Output of `docker version`:**\r\n\r\n```\r\nClient:\r\n Version:      1.12.3\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   6b644ec\r\n Built:        Wed Oct 26 23:26:11 2016\r\n OS/Arch:      darwin/amd64\r\n\r\nServer:\r\n Version:      1.12.3\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   6b644ec\r\n Built:        Wed Oct 26 23:26:11 2016\r\n OS/Arch:      linux/amd64\r\n```\r\n\r\n**Output of `docker info`:**\r\n\r\n```\r\nContainers: 5\r\n Running: 0\r\n Paused: 0\r\n Stopped: 5\r\nImages: 8\r\nServer Version: 1.12.3\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 66\r\n Dirperm1 Supported: true\r\nLogging Driver: json-file\r\nCgroup Driver: cgroupfs\r\nPlugins:\r\n Volume: local\r\n Network: null host bridge overlay\r\nSwarm: inactive\r\nRuntimes: runc\r\nDefault Runtime: runc\r\nSecurity Options: seccomp\r\nKernel Version: 4.4.27-moby\r\nOperating System: Alpine Linux v3.4\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 2\r\nTotal Memory: 1.951 GiB\r\nName: moby\r\nID: BTR2:BEC6:TZ44:ZWK6:NPJU:J6IT:GYFZ:JVAW:GNHZ:XJKK:34DS:HW6B\r\nDocker Root Dir: /var/lib/docker\r\nDebug Mode (client): false\r\nDebug Mode (server): true\r\n File Descriptors: 15\r\n Goroutines: 27\r\n System Time: 2016-12-06T00:42:19.521769536Z\r\n EventsListeners: 1\r\nNo Proxy: *.local, 169.254/16\r\nRegistry: https://index.docker.io/v1/\r\nWARNING: No kernel memory limit support\r\nInsecure Registries:\r\n 127.0.0.0/8\r\n```\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\n\r\nDarwin Phats-MacBook-Pro.local 16.1.0 Darwin Kernel Version 16.1.0: Thu Oct 13 21:26:57 PDT 2016; root:xnu-3789.21.3~60/RELEASE_X86_64 x86_64"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/265038099","html_url":"https://github.com/docker/docker/issues/29154#issuecomment-265038099","issue_url":"https://api.github.com/repos/docker/docker/issues/29154","id":265038099,"user":{"login":"cpuguy83","id":799078,"avatar_url":"https://avatars.githubusercontent.com/u/799078?v=3","gravatar_id":"","url":"https://api.github.com/users/cpuguy83","html_url":"https://github.com/cpuguy83","followers_url":"https://api.github.com/users/cpuguy83/followers","following_url":"https://api.github.com/users/cpuguy83/following{/other_user}","gists_url":"https://api.github.com/users/cpuguy83/gists{/gist_id}","starred_url":"https://api.github.com/users/cpuguy83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpuguy83/subscriptions","organizations_url":"https://api.github.com/users/cpuguy83/orgs","repos_url":"https://api.github.com/users/cpuguy83/repos","events_url":"https://api.github.com/users/cpuguy83/events{/privacy}","received_events_url":"https://api.github.com/users/cpuguy83/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T01:57:09Z","updated_at":"2016-12-06T01:57:09Z","body":"Is there a config json in there?\r\nTrying to figure out how/why there would be a container referenced but no container loaded for it.\r\nSince the volume refs are only stored in memory, it's getting reloaded for some reason on daemon restart but not showing up in `docker ps -a` (Some weird partially loaded state?)"}}
{"actor":{"display_login":"cpuguy83"}}