{"id":2336,"date":"2021-07-17T04:48:00","date_gmt":"2021-07-17T04:48:00","guid":{"rendered":"https:\/\/teza.blog\/?p=2336"},"modified":"2021-08-26T10:04:32","modified_gmt":"2021-08-26T10:04:32","slug":"how-to-fix-error-cannot-perform-an-interactive-login-from-a-non-tty-device","status":"publish","type":"post","link":"https:\/\/teza.blog\/index.php\/2021\/07\/17\/how-to-fix-error-cannot-perform-an-interactive-login-from-a-non-tty-device\/","title":{"rendered":"How to fix Error: Cannot perform an interactive login from a non TTY device"},"content":{"rendered":"\n<p>When trying to connect to amazon container services, ECR ( Elastic Container Registry), there are a few steps you need to configure first before successfully connecting, otherwise you will get the error like below. <br><br>Error: Cannot perform an interactive login from a non TTY device<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"904\" height=\"160\" src=\"https:\/\/teza.blog\/wp-content\/uploads\/2021\/06\/image.png\" alt=\"\" class=\"wp-image-2337\" srcset=\"https:\/\/teza.blog\/wp-content\/uploads\/2021\/06\/image.png 904w, https:\/\/teza.blog\/wp-content\/uploads\/2021\/06\/image-300x53.png 300w, https:\/\/teza.blog\/wp-content\/uploads\/2021\/06\/image-768x136.png 768w\" sizes=\"auto, (max-width: 904px) 100vw, 904px\" \/><\/figure>\n\n\n\n<p>check docker version, if no docker installed, install it first.<br>$docker &#8211;version <\/p>\n\n\n\n<p>check AWS CLI version, if no AWS CLI installed, install link below. <br>https:\/\/docs.aws.amazon.com\/cli\/latest\/userguide\/cli-chap-install.html<br>$aws &#8211;version <br><br>Configure AWS CLI<br>$AWS configure <br>You will need Access Key ID and Secret Access Key <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"343\" height=\"89\" src=\"https:\/\/teza.blog\/wp-content\/uploads\/2021\/06\/image-1.png\" alt=\"\" class=\"wp-image-2338\" srcset=\"https:\/\/teza.blog\/wp-content\/uploads\/2021\/06\/image-1.png 343w, https:\/\/teza.blog\/wp-content\/uploads\/2021\/06\/image-1-300x78.png 300w\" sizes=\"auto, (max-width: 343px) 100vw, 343px\" \/><\/figure>\n\n\n\n<p>680501633545.dkr.ecr.us-west-1.amazonaws.com\/repo1<br><br><\/p>\n\n\n\n<p>for more information, please refer below link. <br><br><br><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When trying to connect to amazon container services, ECR ( Elastic Container Registry), there are a few steps you need to configure first before successfully connecting, otherwise you will get the error like below. Error: Cannot perform an interactive login from a non TTY device check docker version, if no docker installed, install it first.$docker &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/teza.blog\/index.php\/2021\/07\/17\/how-to-fix-error-cannot-perform-an-interactive-login-from-a-non-tty-device\/\" class=\"read-more\">Read More<span class=\"screen-reader-text\"> &#8220;How to fix Error: Cannot perform an interactive login from a non TTY device&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2336","post","type-post","status-publish","format-standard","hentry","category-networking"],"_links":{"self":[{"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/posts\/2336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/comments?post=2336"}],"version-history":[{"count":2,"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/posts\/2336\/revisions"}],"predecessor-version":[{"id":2340,"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/posts\/2336\/revisions\/2340"}],"wp:attachment":[{"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/media?parent=2336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/categories?post=2336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/teza.blog\/index.php\/wp-json\/wp\/v2\/tags?post=2336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}