{"action":"created","issue":{"url":"https://api.github.com/repos/ibuildthecloud/systemd-docker/issues/29","labels_url":"https://api.github.com/repos/ibuildthecloud/systemd-docker/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/ibuildthecloud/systemd-docker/issues/29/comments","events_url":"https://api.github.com/repos/ibuildthecloud/systemd-docker/issues/29/events","html_url":"https://github.com/ibuildthecloud/systemd-docker/issues/29","id":89105992,"number":29,"title":"Can't get stdout when pseudo-TTY is allocated","user":{"login":"tazjin","id":1552853,"avatar_url":"https://avatars.githubusercontent.com/u/1552853?v=3","gravatar_id":"","url":"https://api.github.com/users/tazjin","html_url":"https://github.com/tazjin","followers_url":"https://api.github.com/users/tazjin/followers","following_url":"https://api.github.com/users/tazjin/following{/other_user}","gists_url":"https://api.github.com/users/tazjin/gists{/gist_id}","starred_url":"https://api.github.com/users/tazjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tazjin/subscriptions","organizations_url":"https://api.github.com/users/tazjin/orgs","repos_url":"https://api.github.com/users/tazjin/repos","events_url":"https://api.github.com/users/tazjin/events{/privacy}","received_events_url":"https://api.github.com/users/tazjin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-17T19:39:00Z","updated_at":"2015-06-18T10:01:40Z","closed_at":null,"body":"Hey,\r\n\r\nI'm running an Erlang service in a container through `systemd-docker`. This service's foreground process is an Erlang console, which requires a TTY to be able to run.\r\n\r\nIf I run a container with the `-t` flag which makes Docker allocate a pseudo-TTY, the output of the container is seemingly lost. Is there a way to work around this?"},"comment":{"url":"https://api.github.com/repos/ibuildthecloud/systemd-docker/issues/comments/113097536","html_url":"https://github.com/ibuildthecloud/systemd-docker/issues/29#issuecomment-113097536","issue_url":"https://api.github.com/repos/ibuildthecloud/systemd-docker/issues/29","id":113097536,"user":{"login":"tazjin","id":1552853,"avatar_url":"https://avatars.githubusercontent.com/u/1552853?v=3","gravatar_id":"","url":"https://api.github.com/users/tazjin","html_url":"https://github.com/tazjin","followers_url":"https://api.github.com/users/tazjin/followers","following_url":"https://api.github.com/users/tazjin/following{/other_user}","gists_url":"https://api.github.com/users/tazjin/gists{/gist_id}","starred_url":"https://api.github.com/users/tazjin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tazjin/subscriptions","organizations_url":"https://api.github.com/users/tazjin/orgs","repos_url":"https://api.github.com/users/tazjin/repos","events_url":"https://api.github.com/users/tazjin/events{/privacy}","received_events_url":"https://api.github.com/users/tazjin/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T10:01:40Z","updated_at":"2015-06-18T10:01:40Z","body":"I've found a workaround for the Erlang specific problem that required a TTY, but I'm going to leave this open to figure out if there's a way to catch the output of a pseudo-TTY."}}