{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/bugs/issues/1204","repository_url":"https://api.github.com/repos/coreos/bugs","labels_url":"https://api.github.com/repos/coreos/bugs/issues/1204/labels{/name}","comments_url":"https://api.github.com/repos/coreos/bugs/issues/1204/comments","events_url":"https://api.github.com/repos/coreos/bugs/issues/1204/events","html_url":"https://github.com/coreos/bugs/issues/1204","id":145683474,"number":1204,"title":"Docker container cannot be killed","user":{"login":"tosan88","id":5280120,"avatar_url":"https://avatars.githubusercontent.com/u/5280120?v=3","gravatar_id":"","url":"https://api.github.com/users/tosan88","html_url":"https://github.com/tosan88","followers_url":"https://api.github.com/users/tosan88/followers","following_url":"https://api.github.com/users/tosan88/following{/other_user}","gists_url":"https://api.github.com/users/tosan88/gists{/gist_id}","starred_url":"https://api.github.com/users/tosan88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tosan88/subscriptions","organizations_url":"https://api.github.com/users/tosan88/orgs","repos_url":"https://api.github.com/users/tosan88/repos","events_url":"https://api.github.com/users/tosan88/events{/privacy}","received_events_url":"https://api.github.com/users/tosan88/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coreos/bugs/labels/area/usability","name":"area/usability","color":"bfe5bf"},{"url":"https://api.github.com/repos/coreos/bugs/labels/awaiting%20response","name":"awaiting response","color":"d4c5f9"},{"url":"https://api.github.com/repos/coreos/bugs/labels/component/docker","name":"component/docker","color":"0052cc"},{"url":"https://api.github.com/repos/coreos/bugs/labels/team/os","name":"team/os","color":"ffffff"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-04-04T13:27:16Z","updated_at":"2016-07-08T10:20:50Z","closed_at":null,"body":"Hi,\r\n\r\nFrom time to time we are seeing an issue with stopping/removing a docker container. It enters in a `Removal In Progress` state and cannot be stopped/removed. \r\n\r\nWe start the docker container via fleet service unit with the following command:\r\n\r\n```ExecStart=/bin/sh -c \"/usr/bin/docker run --rm --name=%p -P -e SYS_HC_HOST_PATH=$SYS_HC_HOST_PATH -v /:/$SYS_HC_HOST_PATH:ro coco/coco-system-healthcheck:$DOCKER_APP_VERSION\"```\r\n\r\nHere are the relevant system logs:\r\n```\r\nApr 01 07:03:14 ip-172-24-185-210.eu-west-1.compute.internal systemd[1]: Started docker container 69c873d0b3af96347d3e7b5f96fd640a4f0c209081420945313d3e33f0f0751e.\r\nApr 01 07:03:17 ip-172-24-185-210.eu-west-1.compute.internal sh[1491]: Container running 69c873d0b3af96347d3e7b5f96fd640a4f0c209081420945313d3e33f0f0751e /system-healthcheck\r\n...\r\nApr 01 10:23:55 ip-172-24-185-210.eu-west-1.compute.internal systemd[1]: Stopped fleet daemon.\r\nApr 01 10:23:55 ip-172-24-185-210.eu-west-1.compute.internal systemd[1]: Closed Fleet API Socket.\r\n...\r\nApr 01 10:24:11 ip-172-24-185-210.eu-west-1.compute.internal dockerd[853]: time=\"2016-04-01T10:24:11.259530229Z\" level=info msg=\"Container 69c873d0b3af96347d3e7b5f96fd640a4f0c209081420945313d3e33f0f0751e failed to exit within 10 seconds\r\nApr 01 10:24:11 ip-172-24-185-210.eu-west-1.compute.internal systemd[1]: Stopped docker container 69c873d0b3af96347d3e7b5f96fd640a4f0c209081420945313d3e33f0f0751e.\r\nApr 01 10:24:59 ip-172-24-185-210.eu-west-1.compute.internal docker[11786]: Failed to kill container (system-healthcheck): Error response from daemon: Cannot kill container system-healthcheck: Container 69c873d0b3af96347d3e7b5f96fd640a4f0c209081420945313d3e33f0f0751e is not running\r\nApr 01 10:24:59 ip-172-24-185-210.eu-west-1.compute.internal sh[12044]: docker: Error response from daemon: Conflict. The name \"/system-healthcheck\" is already in use by container 69c873d0b3af96347d3e7b5f96fd640a4f0c209081420945313d3e33f0f0751e. You have to remove (or rename) that container to be able to reuse that name..\r\n```\r\n\r\nNotice fleet daemon was stopped before the issue happened, however I don't know if it's related.\r\n\r\nHere is the output from `docker info`:\r\n```\r\ncore@ip-172-24-73-234 ~ $ docker info\r\nContainers: 33\r\n Running: 32\r\n Paused: 0\r\n Stopped: 1\r\nImages: 32\r\nServer Version: 1.10.3\r\nStorage Driver: overlay\r\n Backing Filesystem: extfs\r\nExecution Driver: native-0.2\r\nLogging Driver: none\r\nPlugins:\r\n Volume: local\r\n Network: bridge null host\r\nKernel Version: 4.4.6-coreos\r\nOperating System: CoreOS 1000.0.0 (MoreOS)\r\nOSType: linux\r\nArchitecture: x86_64\r\nCPUs: 4\r\nTotal Memory: 15.67 GiB\r\nName: ip-172-24-73-234.eu-west-1.compute.internal\r\nID: OLAY:RLSY:Y6YB:ULVX:NDON:JIKB:QMU5:7KEU:I57S:NQQX:2QXZ:2QV5\r\n```\r\n\r\nThis is happening on CoreOS alpha version `1000.0.0`.\r\nThis is not reproducable on CoreOS stable version `899.13.0`.\r\n\r\nCan you please help?\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/coreos/bugs/issues/comments/231326289","html_url":"https://github.com/coreos/bugs/issues/1204#issuecomment-231326289","issue_url":"https://api.github.com/repos/coreos/bugs/issues/1204","id":231326289,"user":{"login":"martingartonft","id":5197575,"avatar_url":"https://avatars.githubusercontent.com/u/5197575?v=3","gravatar_id":"","url":"https://api.github.com/users/martingartonft","html_url":"https://github.com/martingartonft","followers_url":"https://api.github.com/users/martingartonft/followers","following_url":"https://api.github.com/users/martingartonft/following{/other_user}","gists_url":"https://api.github.com/users/martingartonft/gists{/gist_id}","starred_url":"https://api.github.com/users/martingartonft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martingartonft/subscriptions","organizations_url":"https://api.github.com/users/martingartonft/orgs","repos_url":"https://api.github.com/users/martingartonft/repos","events_url":"https://api.github.com/users/martingartonft/events{/privacy}","received_events_url":"https://api.github.com/users/martingartonft/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T10:20:50Z","updated_at":"2016-07-08T10:20:50Z","body":"Is there anything I can do or information I can provide to help diagnose this?"}}
{"actor":{"display_login":"martingartonft"}}