{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/17263","labels_url":"https://api.github.com/repos/docker/docker/issues/17263/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/17263/comments","events_url":"https://api.github.com/repos/docker/docker/issues/17263/events","html_url":"https://github.com/docker/docker/issues/17263","id":112795895,"number":17263,"title":"exec fails, kill hangs (docker 1.6.2, ubuntu 14.4, kernel 3.13)","user":{"login":"niko","id":3075,"avatar_url":"https://avatars.githubusercontent.com/u/3075?v=3","gravatar_id":"","url":"https://api.github.com/users/niko","html_url":"https://github.com/niko","followers_url":"https://api.github.com/users/niko/followers","following_url":"https://api.github.com/users/niko/following{/other_user}","gists_url":"https://api.github.com/users/niko/gists{/gist_id}","starred_url":"https://api.github.com/users/niko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niko/subscriptions","organizations_url":"https://api.github.com/users/niko/orgs","repos_url":"https://api.github.com/users/niko/repos","events_url":"https://api.github.com/users/niko/events{/privacy}","received_events_url":"https://api.github.com/users/niko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-22T12:50:08Z","updated_at":"2015-10-23T08:43:17Z","closed_at":null,"body":"There have been several issues with this content, all somewhat older and closed and none with this docker and kernel version. So I'm filing a new issue.\r\n\r\n`docker exec` fails with exit code 255 and `docker kill` and `docker stop` just hangs.\r\n\r\nDocker 1.6, Ubuntu 14.4, Kernel 3.13.\r\n\r\n``` bash\r\n$ docker exec -it 59d407b7929f ls\r\nCannot run exec command\r\n5c103fdb3b1e416f717c0c8f7ad91655ca3b15447e3ac2583b104d678f93c158\r\nin container\r\n59d407b7929f83bf549fa06ea1252ef814a4a7d494dbb1739a1d423b841c4cdb:\r\n[8] System error: exit status 1\r\n        Error starting exec command in container\r\n5c103fdb3b1e416f717c0c8f7ad91655ca3b15447e3ac2583b104d678f93c158:\r\nCannot run exec command\r\n5c103fdb3b1e416f717c0c8f7ad91655ca3b15447e3ac2583b104d678f93c158\r\nin container\r\n59d407b7929f83bf549fa06ea1252ef814a4a7d494dbb1739a1d423b841c4cdb:\r\n[8] System error: exit status 1\r\n$ echo $?\r\n255\r\n$ uname -a\r\nLinux docker-3 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n$ docker --version\r\nDocker version 1.6.2, build 7c8fca2\r\n$ docker info\r\nContainers: 26\r\nImages: 120\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 172\r\n Dirperm1 Supported: false\r\nExecution Driver: native-0.2\r\nKernel Version: 3.13.0-45-generic\r\nOperating System: Ubuntu 14.04.2 LTS\r\nCPUs: 32\r\nTotal Memory: 31.39 GiB\r\nName: docker-3\r\nID: 22XF:KZHE:RBIG:2JP7:VEF3:77PB:G4YR:EXIL:HTQT:U2FV:644Z:Z225\r\nWARNING: No swap limit support\r\n```\r\n(some linebreaks added)\r\n\r\n```bash\r\n$ docker inspect 59d407b7929f\r\n```\r\n```json\r\n[{\r\n    \"AppArmorProfile\": \"\",\r\n    \"Args\": [],\r\n    \"Config\": {\r\n        \"AttachStderr\": false,\r\n        \"AttachStdin\": false,\r\n        \"AttachStdout\": false,\r\n        \"Cmd\": [\r\n            \"/haproxy.start\"\r\n        ],\r\n        \"CpuShares\": 0,\r\n        \"Cpuset\": \"\",\r\n        \"Domainname\": \"\",\r\n        \"Entrypoint\": null,\r\n        \"Env\": [\r\n            \"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\",\r\n            \"DEBIAN_FRONTEND=noninteractive\",\r\n            \"LC_ALL=en_US.UTF-8\",\r\n            \"LANG=en_US.UTF-8\",\r\n            \"LANGUAGE=en_US.UTF-8\"\r\n        ],\r\n        \"ExposedPorts\": null,\r\n        \"Hostname\": \"docker-3\",\r\n        \"Image\": \"haproxy\",\r\n        \"Labels\": {},\r\n        \"MacAddress\": \"\",\r\n        \"Memory\": 0,\r\n        \"MemorySwap\": 0,\r\n        \"NetworkDisabled\": false,\r\n        \"OnBuild\": null,\r\n        \"OpenStdin\": false,\r\n        \"PortSpecs\": null,\r\n        \"StdinOnce\": false,\r\n        \"Tty\": false,\r\n        \"User\": \"\",\r\n        \"Volumes\": null,\r\n        \"WorkingDir\": \"\"\r\n    },\r\n    \"Created\": \"2015-05-22T12:39:38.804721215Z\",\r\n    \"Driver\": \"aufs\",\r\n    \"ExecDriver\": \"native-0.2\",\r\n    \"ExecIDs\": [\r\n        \"6bfa562297c9abea4ff4b6b19cb601ceaa08d45a14e25350fca5c49f1b806983\",\r\n        \"7f0f2c4f89cd5c9d45d91ac5d0c1c4b1d4290ad6d5358bcf5749b405ab8f6366\",\r\n        \"8e3eca00f5bad0f85187dcc7eca58c7f41b99da220e7a5746ed82fd03a848080\",\r\n        \"603f1dab1978a29bcf808657e883d9dc5e20a1190c3eed5a445b8f8889f919d8\",\r\n        \"b1db71fca4d139b3945aa6483e565532240fe3fc7656eca9b5d910f51eeae28b\",\r\n        \"af43422f486ea684e77f03cd32832ea54c81ad9b9f6c9fae886a2583f6b219e5\",\r\n        \"6399c8008e14233da06b34e9282ed65ae4e796a8fc9d5e48f0fde62de225d463\",\r\n        \"3fee1a77599b206541ddee6ebc3278ac672c860d7d3200463ff50583f6ac22fc\",\r\n        \"8fce914ecb43846573aec920ab4afdf0233cc81be2f55226dc1062f59c23cc58\",\r\n        \"4ed7be9062f577c466499f3224259c741edf0ee97f165a31956174dfe573a6c1\",\r\n        \"5c103fdb3b1e416f717c0c8f7ad91655ca3b15447e3ac2583b104d678f93c158\"\r\n    ],\r\n    \"HostConfig\": {\r\n        \"Binds\": null,\r\n        \"CapAdd\": null,\r\n        \"CapDrop\": null,\r\n        \"CgroupParent\": \"\",\r\n        \"ContainerIDFile\": \"\",\r\n        \"CpuShares\": 0,\r\n        \"CpusetCpus\": \"\",\r\n        \"Devices\": [],\r\n        \"Dns\": null,\r\n        \"DnsSearch\": null,\r\n        \"ExtraHosts\": null,\r\n        \"IpcMode\": \"\",\r\n        \"Links\": null,\r\n        \"LogConfig\": {\r\n            \"Config\": null,\r\n            \"Type\": \"json-file\"\r\n        },\r\n        \"LxcConf\": [],\r\n        \"Memory\": 0,\r\n        \"MemorySwap\": 0,\r\n        \"NetworkMode\": \"host\",\r\n        \"PidMode\": \"\",\r\n        \"PortBindings\": {},\r\n        \"Privileged\": false,\r\n        \"PublishAllPorts\": false,\r\n        \"ReadonlyRootfs\": false,\r\n        \"RestartPolicy\": {\r\n            \"MaximumRetryCount\": 0,\r\n            \"Name\": \"always\"\r\n        },\r\n        \"SecurityOpt\": null,\r\n        \"Ulimits\": null,\r\n        \"VolumesFrom\": [\r\n            \"pem\"\r\n        ]\r\n    },\r\n    \"HostnamePath\": \"/var/lib/docker/containers/59d407b7929f83bf549fa06ea1252ef814a4a7d494dbb1739a1d423b841c4cdb/hostname\",\r\n    \"HostsPath\": \"/var/lib/docker/containers/59d407b7929f83bf549fa06ea1252ef814a4a7d494dbb1739a1d423b841c4cdb/hosts\",\r\n    \"Id\": \"59d407b7929f83bf549fa06ea1252ef814a4a7d494dbb1739a1d423b841c4cdb\",\r\n    \"Image\": \"50a7c6b08b0270fae094fd74e3409014bd41c77fe242c404e5b04aeb2f82e3e8\",\r\n    \"LogPath\": \"/var/lib/docker/containers/59d407b7929f83bf549fa06ea1252ef814a4a7d494dbb1739a1d423b841c4cdb/59d407b7929f83bf549fa06ea1252ef814a4a7d494dbb1739a1d423b841c4cdb-json.log\",\r\n    \"MountLabel\": \"\",\r\n    \"Name\": \"/elated_heisenberg\",\r\n    \"NetworkSettings\": {\r\n        \"Bridge\": \"\",\r\n        \"Gateway\": \"\",\r\n        \"GlobalIPv6Address\": \"\",\r\n        \"GlobalIPv6PrefixLen\": 0,\r\n        \"IPAddress\": \"\",\r\n        \"IPPrefixLen\": 0,\r\n        \"IPv6Gateway\": \"\",\r\n        \"LinkLocalIPv6Address\": \"\",\r\n        \"LinkLocalIPv6PrefixLen\": 0,\r\n        \"MacAddress\": \"\",\r\n        \"PortMapping\": null,\r\n        \"Ports\": null\r\n    },\r\n    \"Path\": \"/haproxy.start\",\r\n    \"ProcessLabel\": \"\",\r\n    \"ResolvConfPath\": \"/var/lib/docker/containers/59d407b7929f83bf549fa06ea1252ef814a4a7d494dbb1739a1d423b841c4cdb/resolv.conf\",\r\n    \"RestartCount\": 1,\r\n    \"State\": {\r\n        \"Dead\": false,\r\n        \"Error\": \"\",\r\n        \"ExitCode\": 0,\r\n        \"FinishedAt\": \"2015-10-22T12:00:17.401469513Z\",\r\n        \"OOMKilled\": false,\r\n        \"Paused\": false,\r\n        \"Pid\": 13649,\r\n        \"Restarting\": false,\r\n        \"Running\": true,\r\n        \"StartedAt\": \"2015-10-22T12:00:17.558073754Z\"\r\n    },\r\n    \"Volumes\": {\r\n        \"pem\": \"/var/lib/docker/vfs/dir/2567f6838201191da3ae63f9d38fd5014c91af47121256804423d1e141db0ba2\"\r\n    },\r\n    \"VolumesRW\": {\r\n        \"pem\": true\r\n    }\r\n}\r\n]\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/150514767","html_url":"https://github.com/docker/docker/issues/17263#issuecomment-150514767","issue_url":"https://api.github.com/repos/docker/docker/issues/17263","id":150514767,"user":{"login":"niko","id":3075,"avatar_url":"https://avatars.githubusercontent.com/u/3075?v=3","gravatar_id":"","url":"https://api.github.com/users/niko","html_url":"https://github.com/niko","followers_url":"https://api.github.com/users/niko/followers","following_url":"https://api.github.com/users/niko/following{/other_user}","gists_url":"https://api.github.com/users/niko/gists{/gist_id}","starred_url":"https://api.github.com/users/niko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niko/subscriptions","organizations_url":"https://api.github.com/users/niko/orgs","repos_url":"https://api.github.com/users/niko/repos","events_url":"https://api.github.com/users/niko/events{/privacy}","received_events_url":"https://api.github.com/users/niko/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T08:43:17Z","updated_at":"2015-10-23T08:43:17Z","body":"After a few hours the hanging container disappeared automatically. Not sure if I like this or not. It's a production machine so tinkering with the setup limited."}}