{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/19206","labels_url":"https://api.github.com/repos/docker/docker/issues/19206/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/19206/comments","events_url":"https://api.github.com/repos/docker/docker/issues/19206/events","html_url":"https://github.com/docker/docker/issues/19206","id":125752340,"number":19206,"title":"Docker Exec just hang on java -h command","user":{"login":"vuminhkh","id":6248367,"avatar_url":"https://avatars.githubusercontent.com/u/6248367?v=3","gravatar_id":"","url":"https://api.github.com/users/vuminhkh","html_url":"https://github.com/vuminhkh","followers_url":"https://api.github.com/users/vuminhkh/followers","following_url":"https://api.github.com/users/vuminhkh/following{/other_user}","gists_url":"https://api.github.com/users/vuminhkh/gists{/gist_id}","starred_url":"https://api.github.com/users/vuminhkh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuminhkh/subscriptions","organizations_url":"https://api.github.com/users/vuminhkh/orgs","repos_url":"https://api.github.com/users/vuminhkh/repos","events_url":"https://api.github.com/users/vuminhkh/events{/privacy}","received_events_url":"https://api.github.com/users/vuminhkh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-09T10:46:14Z","updated_at":"2016-01-10T00:40:14Z","closed_at":"2016-01-10T00:40:13Z","body":"Description of problem:\r\n`docker version`: Docker version 1.9.1, build a34a1d5\r\n`docker info`:\r\nContainers: 2\r\nImages: 83\r\nServer Version: 1.9.1\r\nStorage Driver: aufs\r\n Root Dir: /mnt/sda1/var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 87\r\n Dirperm1 Supported: true\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nKernel Version: 4.1.13-boot2docker\r\nOperating System: Boot2Docker 1.9.1 (TCL 6.4.1); master : cef800b - Fri Nov 20 19:33:59 UTC 2015\r\nCPUs: 1\r\nTotal Memory: 1.956 GiB\r\nName: default\r\nID: F2RY:KSB5:AWZM:6WST:FS34:KTNH:CEBU:ICV2:KB3C:GVJT:UWXK:ZBOO\r\nDebug mode (server): true\r\n File Descriptors: 39\r\n Goroutines: 82\r\n System Time: 2016-01-09T10:31:43.512838033Z\r\n EventsListeners: 0\r\n Init SHA1: \r\n Init Path: /usr/local/bin/docker\r\n Docker Root Dir: /mnt/sda1/var/lib/docker\r\nUsername: toscaruntime\r\nRegistry: https://index.docker.io/v1/\r\nLabels:\r\n provider=virtualbox\r\n\r\n`uname -a`: Darwin t.home 15.2.0 Darwin Kernel Version 15.2.0: Fri Nov 13 19:56:56 PST 2015; root:xnu-3248.20.55~2/RELEASE_X86_64 x86_64\r\n\r\nEnvironment details: Docker Toolbox for Mac OS\r\n\r\nSteps to Reproduce:\r\n1. docker pull java\r\n2. CONTAINER_ID=$(docker run -dit java)\r\n3. docker exec $CONTAINER_ID java -h\r\n\r\nActual Results: The command just hang and do not finish except I press Ctrl+C\r\nExpected Results: The command finished normally\r\n\r\nAdditional info: If executing in interactive mode ‘docker exec -it $CONTAINER_ID java -h‘ , Ctrl+C do not have any more effect, the command will just hang. On another terminal, attempt to remove the container will just hang docker rm -f tiny_mahavira\r\n\r\nThanks,\r\n\r\nMinh Khang VU\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/170297019","html_url":"https://github.com/docker/docker/issues/19206#issuecomment-170297019","issue_url":"https://api.github.com/repos/docker/docker/issues/19206","id":170297019,"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-10T00:40:13Z","updated_at":"2016-01-10T00:40:13Z","body":"Yes, it does look really similar.\r\n\r\n@vuminhkh I'm gonna close this issue, so that we can keep the discussion in a single place. Please subscribe to https://github.com/docker/docker/issues/18180 to stay informed on updates.\r\n\r\nhttps://github.com/docker/docker/issues/18180 also mentions some workarounds (e.g. Changing to another storage driver.\r\n\r\nThanks for reporting! It's really appreciated :+1: "}}