{"id":1048,"date":"2019-04-25T16:15:58","date_gmt":"2019-04-25T13:15:58","guid":{"rendered":"https:\/\/artem.services\/?p=1046"},"modified":"2019-04-25T16:29:16","modified_gmt":"2019-04-25T13:29:16","slug":"fix-error-docker-the-input-device-is-not-a-tty-2","status":"publish","type":"post","link":"https:\/\/artem.services\/?p=1048&lang=en","title":{"rendered":"FIX ERROR &#8212; Docker: the input device is not a TTY"},"content":{"rendered":"<p><span class=\"tlid-translation translation\" lang=\"en\"><span class=\"\" title=\"\">When I try to execute a command inside the <strong>Docker<\/strong> container with <strong>Jenkins<\/strong>, the following error appears:<\/span><\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nthe input device is not a TTY\r\n<\/pre>\n<p>&nbsp;<\/p>\n<h3>Solution:<\/h3>\n<p><span class=\"tlid-translation translation\" lang=\"en\"><span class=\"\" title=\"\">Use instead:<\/span><\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ndocker exec -it\r\n<\/pre>\n<p><span class=\"tlid-translation translation\" lang=\"en\"><span class=\"\" title=\"\">following:<\/span><\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ndocker exec --tty\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>When I try to execute a command inside the Docker container with Jenkins, the following error appears: &nbsp; Solution: Use instead: following:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[357],"tags":[771,361,365,617,791],"_links":{"self":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1048"}],"collection":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1048"}],"version-history":[{"count":3,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1048\/revisions"}],"predecessor-version":[{"id":1052,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/1048\/revisions\/1052"}],"wp:attachment":[{"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1048"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1048"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1048"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}