{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/17555","labels_url":"https://api.github.com/repos/docker/docker/issues/17555/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/17555/comments","events_url":"https://api.github.com/repos/docker/docker/issues/17555/events","html_url":"https://github.com/docker/docker/issues/17555","id":114372781,"number":17555,"title":"v1.9.0-rc3 unable to remove network due to active endpoints","user":{"login":"tommyoshaw","id":3006298,"avatar_url":"https://avatars.githubusercontent.com/u/3006298?v=3","gravatar_id":"","url":"https://api.github.com/users/tommyoshaw","html_url":"https://github.com/tommyoshaw","followers_url":"https://api.github.com/users/tommyoshaw/followers","following_url":"https://api.github.com/users/tommyoshaw/following{/other_user}","gists_url":"https://api.github.com/users/tommyoshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/tommyoshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommyoshaw/subscriptions","organizations_url":"https://api.github.com/users/tommyoshaw/orgs","repos_url":"https://api.github.com/users/tommyoshaw/repos","events_url":"https://api.github.com/users/tommyoshaw/events{/privacy}","received_events_url":"https://api.github.com/users/tommyoshaw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/group/networking","name":"group/networking","color":"F6FBFF"},{"url":"https://api.github.com/repos/docker/docker/labels/priority/P3","name":"priority/P3","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/45","html_url":"https://github.com/docker/docker/milestones/1.9.1","labels_url":"https://api.github.com/repos/docker/docker/milestones/45/labels","id":1385783,"number":45,"title":"1.9.1","description":"","creator":{"login":"tiborvass","id":827131,"avatar_url":"https://avatars.githubusercontent.com/u/827131?v=3","gravatar_id":"","url":"https://api.github.com/users/tiborvass","html_url":"https://github.com/tiborvass","followers_url":"https://api.github.com/users/tiborvass/followers","following_url":"https://api.github.com/users/tiborvass/following{/other_user}","gists_url":"https://api.github.com/users/tiborvass/gists{/gist_id}","starred_url":"https://api.github.com/users/tiborvass/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiborvass/subscriptions","organizations_url":"https://api.github.com/users/tiborvass/orgs","repos_url":"https://api.github.com/users/tiborvass/repos","events_url":"https://api.github.com/users/tiborvass/events{/privacy}","received_events_url":"https://api.github.com/users/tiborvass/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":74,"state":"closed","created_at":"2015-10-30T17:08:02Z","updated_at":"2015-11-30T09:51:09Z","due_on":"2015-11-19T05:00:00Z","closed_at":"2015-11-23T17:38:41Z"},"comments":26,"created_at":"2015-10-30T23:31:52Z","updated_at":"2016-01-07T10:25:38Z","closed_at":"2015-11-12T22:45:25Z","body":"Getting this error :  Error response from daemon: network demo has active endpoints\r\n\r\nI created a network called demo : docker network create demo\r\n\r\nI had 3 containers connected to the \"demo\" network to verify the /etc/hosts file was being updated correctly.  I have disconnected the 3 containers and deleted them.  When trying to delete the \"demo\" network I get the active endpoints error.  I'm fairly sure this was working in rc2.\r\n\r\ndocker network ls\r\nNETWORK ID          NAME                DRIVER\r\n7cb8de790cfe        none                null                \r\nc38cdaf251ad        host                host                \r\n768e01129e6d        bridge              bridge              \r\n3fe7f7cd7959        demo                bridge              \r\nc002e04e31f7        tommy               bridge      \r\n        \r\ndocker network rm demo\r\nError response from daemon: network demo has active endpoints\r\n\r\ndocker ps -a\r\nCONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/169622514","html_url":"https://github.com/docker/docker/issues/17555#issuecomment-169622514","issue_url":"https://api.github.com/repos/docker/docker/issues/17555","id":169622514,"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-01-07T10:25:38Z","updated_at":"2016-01-07T10:25:38Z","body":"@salanki perhaps it's better to create a new issue yes, but add a link to this issue. At least provide the output of `docker version` and `docker info`. If possible, a way to reproduce, and if you have something special in your setup (also, e.g. if you're using Swarm or Docker directly)."}}