{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/docker/issues/22357","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/22357/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/22357/comments","events_url":"https://api.github.com/repos/docker/docker/issues/22357/events","html_url":"https://github.com/docker/docker/issues/22357","id":151337339,"number":22357,"title":"docker cannot stop a container: ","user":{"login":"tugberkugurlu","id":328122,"avatar_url":"https://avatars.githubusercontent.com/u/328122?v=3","gravatar_id":"","url":"https://api.github.com/users/tugberkugurlu","html_url":"https://github.com/tugberkugurlu","followers_url":"https://api.github.com/users/tugberkugurlu/followers","following_url":"https://api.github.com/users/tugberkugurlu/following{/other_user}","gists_url":"https://api.github.com/users/tugberkugurlu/gists{/gist_id}","starred_url":"https://api.github.com/users/tugberkugurlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tugberkugurlu/subscriptions","organizations_url":"https://api.github.com/users/tugberkugurlu/orgs","repos_url":"https://api.github.com/users/tugberkugurlu/repos","events_url":"https://api.github.com/users/tugberkugurlu/events{/privacy}","received_events_url":"https://api.github.com/users/tugberkugurlu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-27T09:15:37Z","updated_at":"2016-04-27T09:15:37Z","closed_at":null,"body":"> originated from https://github.com/docker/docker/issues/10589 and opening this one based on @thaJeztah's request (https://github.com/docker/docker/issues/10589#issuecomment-214859917).\r\n\r\ndocker cannot `rm`, `stop` or `kill` the container:\r\n\r\n```\r\n➜  app git:(master) ✗ docker info  \r\nContainers: 91\r\n Running: 2\r\n Paused: 0\r\n Stopped: 89\r\nImages: 296\r\nServer Version: 1.10.2\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 490\r\n Dirperm1 Supported: true\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nPlugins: \r\n Volume: local\r\n Network: bridge null host\r\nKernel Version: 3.19.0-49-generic\r\nOperating System: Ubuntu 14.04.4 LTS\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 4\r\nTotal Memory: 3.844 GiB\r\nName: ubuntu\r\nID: 2HH2:BL4I:ZPYE:BIXT:656Y:R7FQ:I6RQ:7H7U:YHLI:BO6K:TY2Z:6FGB\r\nWARNING: No swap limit support\r\n\r\n➜  app git:(master) ✗ docker logs zleek-neo4j\r\nStarting Neo4j Server...process [139]... waiting for server to be ready............ OK.\r\nhttp://localhost:7474/ is ready.\r\nStopping Neo4j Server [139].... done\r\nStarting Neo4j Server console-mode...\r\n2016-03-03 21:48:25.629+0000 INFO  Successfully started database\r\n2016-03-03 21:48:25.719+0000 INFO  Starting HTTP on port 7474 (4 threads available)\r\n2016-03-03 21:48:26.301+0000 INFO  Enabling HTTPS on port 7473\r\n2016-03-03 21:48:26.510+0000 INFO  Mounting static content at /webadmin                                                                [22/1813]\r\n2016-03-03 21:48:26.711+0000 INFO  Mounting static content at /browser\r\n2016-03-03 21:48:29.938+0000 INFO  Remote interface ready and available at http://0.0.0.0:7474/\r\n2016-03-03 21:59:29.931+0000 INFO  Neo4j Server shutdown initiated by request\r\n2016-03-03 21:59:30.035+0000 INFO  Successfully shutdown Neo4j Server\r\n2016-03-03 21:59:30.125+0000 INFO  Successfully stopped database\r\n2016-03-03 21:59:30.126+0000 INFO  Successfully shutdown database\r\nStarting Neo4j Server...process [142]... waiting for server to be ready........... OK.\r\nhttp://localhost:7474/ is ready.\r\nStopping Neo4j Server [142].... done\r\nStarting Neo4j Server console-mode...\r\n2016-03-03 22:02:14.884+0000 INFO  Successfully started database\r\n2016-03-03 22:02:14.927+0000 INFO  Starting HTTP on port 7474 (4 threads available)\r\n2016-03-03 22:02:15.295+0000 INFO  Enabling HTTPS on port 7473\r\n2016-03-03 22:02:15.431+0000 INFO  Mounting static content at /webadmin\r\n2016-03-03 22:02:15.529+0000 INFO  Mounting static content at /browser\r\n2016-03-03 22:02:17.219+0000 INFO  Remote interface ready and available at http://0.0.0.0:7474/\r\nStarting Neo4j Server...process [141]... waiting for server to be ready.................. OK.\r\nhttp://localhost:7474/ is ready.\r\nStopping Neo4j Server [141].... done\r\nStarting Neo4j Server console-mode...\r\n2016-03-04 14:17:36.572+0000 INFO  Successfully started database\r\n2016-03-04 14:17:36.611+0000 INFO  Starting HTTP on port 7474 (4 threads available)                                                     [0/1813]\r\n2016-03-04 14:17:37.014+0000 INFO  Enabling HTTPS on port 7473\r\n2016-03-04 14:17:37.133+0000 INFO  Mounting static content at /webadmin\r\n2016-03-04 14:17:37.209+0000 INFO  Mounting static content at /browser\r\n2016-03-04 14:17:38.582+0000 INFO  Remote interface ready and available at http://0.0.0.0:7474/\r\n2016-03-04 14:24:48.444+0000 INFO  Neo4j Server shutdown initiated by request\r\n2016-03-04 14:24:48.519+0000 INFO  Successfully shutdown Neo4j Server\r\n2016-03-04 14:24:48.592+0000 INFO  Successfully stopped database\r\n2016-03-04 14:24:48.592+0000 INFO  Successfully shutdown database\r\nStarting Neo4j Server...process [141]... waiting for server to be ready.......... OK.\r\nhttp://localhost:7474/ is ready.\r\nStopping Neo4j Server [141].... done\r\nStarting Neo4j Server console-mode...\r\n2016-03-04 14:25:42.498+0000 INFO  Successfully started database\r\n2016-03-04 14:25:42.541+0000 INFO  Starting HTTP on port 7474 (4 threads available)\r\n2016-03-04 14:25:42.916+0000 INFO  Enabling HTTPS on port 7473\r\n2016-03-04 14:25:43.043+0000 INFO  Mounting static content at /webadmin\r\n2016-03-04 14:25:43.126+0000 INFO  Mounting static content at /browser\r\n2016-03-04 14:25:44.578+0000 INFO  Remote interface ready and available at http://0.0.0.0:7474/\r\n2016-03-04 14:30:23.639+0000 INFO  Neo4j Server shutdown initiated by request\r\n2016-03-04 14:30:23.688+0000 INFO  Successfully shutdown Neo4j Server\r\n2016-03-04 14:30:23.763+0000 INFO  Successfully stopped database\r\n2016-03-04 14:30:23.763+0000 INFO  Successfully shutdown database\r\n\r\n➜  app git:(master) ✗ docker --version\r\nDocker version 1.10.2, build c3959b1\r\n\r\n➜  app git:(master) ✗ uname -a\r\nLinux ubuntu 3.19.0-49-generic #55~14.04.1-Ubuntu SMP Fri Jan 22 11:24:31 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux\r\n```\r\n\r\nSome suggested that it might be related to https://github.com/docker/docker/issues/18180 but I seem to have kernel `3.19.0-49-generic` but still having this issue for `neo4j/neo4j:2.3.2` image from official docker registry.\r\n\r\n```\r\n➜  ~ docker info \r\nContainers: 6\r\n Running: 1\r\n Paused: 0\r\n Stopped: 5\r\nImages: 69\r\nServer Version: 1.10.3\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 155\r\n Dirperm1 Supported: true\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nPlugins: \r\n Volume: local\r\n Network: bridge null host\r\nKernel Version: 3.19.0-49-generic\r\nOperating System: Ubuntu 14.04.4 LTS\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 4\r\nTotal Memory: 3.844 GiB\r\nName: ubuntu\r\nID: 2HH2:BL4I:ZPYE:BIXT:656Y:R7FQ:I6RQ:7H7U:YHLI:BO6K:TY2Z:6FGB\r\nWARNING: No swap limit support\r\n```\r\n\r\nIt is stuck and `docker-compose stop` gives below info:\r\n\r\n```\r\n➜  foo git:(master) ✗ docker-compose stop\r\nStopping foo-neo4j ... \r\n\r\nERROR: for foo-neo4j  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=70) \r\nERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.\r\nIf you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).\r\n```\r\n\r\n`docker kill {container-id}` also doesn't work.\r\n\r\n## Repro Steps\r\n\r\nI am not entirely sure as this doesn't happen all the time. Let me know if there is anything I can do moire to narrow it down."}}