{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/14277","labels_url":"https://api.github.com/repos/docker/docker/issues/14277/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/14277/comments","events_url":"https://api.github.com/repos/docker/docker/issues/14277/events","html_url":"https://github.com/docker/docker/issues/14277","id":92004155,"number":14277,"title":"stdin is not tty causes container to exit","user":{"login":"DrakeW","id":6601308,"avatar_url":"https://avatars.githubusercontent.com/u/6601308?v=3","gravatar_id":"","url":"https://api.github.com/users/DrakeW","html_url":"https://github.com/DrakeW","followers_url":"https://api.github.com/users/DrakeW/followers","following_url":"https://api.github.com/users/DrakeW/following{/other_user}","gists_url":"https://api.github.com/users/DrakeW/gists{/gist_id}","starred_url":"https://api.github.com/users/DrakeW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrakeW/subscriptions","organizations_url":"https://api.github.com/users/DrakeW/orgs","repos_url":"https://api.github.com/users/DrakeW/repos","events_url":"https://api.github.com/users/DrakeW/events{/privacy}","received_events_url":"https://api.github.com/users/DrakeW/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-30T06:38:18Z","updated_at":"2015-06-30T17:41:32Z","closed_at":"2015-06-30T17:41:32Z","body":"`docker version:\r\nDocker version 1.6.2, build 7c8fca2`\r\n`uname -a: Linux ip-xx-x-x-xxx 3.14.44-32.39.amzn1.x86_64 #1 SMP Thu Jun 11 20:33:38 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux`\r\n\r\nWe are starting a container and run task using aws ecs service, the image got pulled successfully according to the task definition but when the container trying to run the task it exited because of \"stdin is not tty\". We manually reproduced that error by running `docker run {image_name}` but didn't figure out a way to fix it. Here's the output:\r\n\r\n    Initializing built-in extension Generic Event Extension\r\n    Initializing built-in extension SHAPE\r\n    Initializing built-in extension MIT-SHM\r\n    Initializing built-in extension XInputExtension\r\n    Initializing built-in extension XTEST\r\n    Initializing built-in extension BIG-REQUESTS\r\n    Initializing built-in extension SYNC\r\n    Initializing built-in extension XKEYBOARD\r\n    Initializing built-in extension XC-MISC\r\n    Initializing built-in extension SECURITY\r\n    Initializing built-in extension XINERAMA\r\n    Initializing built-in extension XFIXES\r\n    Initializing built-in extension RENDER\r\n    Initializing built-in extension RANDR\r\n    Initializing built-in extension COMPOSITE\r\n    Initializing built-in extension DAMAGE\r\n    Initializing built-in extension MIT-SCREEN-SAVER\r\n    Initializing built-in extension DOUBLE-BUFFER\r\n    Initializing built-in extension RECORD\r\n    Initializing built-in extension DPMS\r\n    Initializing built-in extension Present\r\n    Initializing built-in extension DRI3\r\n    Initializing built-in extension X-Resource\r\n    Initializing built-in extension XVideo\r\n    Initializing built-in extension XVideo-MotionCompensation\r\n    Initializing built-in extension SELinux\r\n    Initializing built-in extension GLX\r\n    stdin: is not a tty\r\n\r\nWe are using Xvfb to run tests and here are the related dependencies in our dockerfile\r\n\r\n    # install virtual display \r\n    RUN apt-get -qy install xvfb\r\n    RUN apt-get -qy install x11-xkb-utils\r\n    RUN apt-get -qy install xserver-xorg-core\r\n    RUN apt-get -qy install xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic\r\n\r\nDoes anyone happen to know how to fix this? Thanks a lot.\r\n"}}