{"id":352,"date":"2015-12-17T12:14:00","date_gmt":"2015-12-17T18:14:00","guid":{"rendered":"http:\/\/sha.nnoncarey.com\/blog\/?p=352"},"modified":"2015-12-17T12:15:03","modified_gmt":"2015-12-17T18:15:03","slug":"docker-unable-to-pull-images-from-docker-hub-registry","status":"publish","type":"post","link":"https:\/\/sha.nnoncarey.com\/blog\/archives\/352","title":{"rendered":"Docker unable to pull images from Docker Hub registry"},"content":{"rendered":"<p>In AWS, my Docker-based ElasticBeanstalk apps were repeatedly removing &#038; adding instances. This resulted in many &#8220;Adding instance &#8216;i-465f6382&#8217; to your environment.&#8221; type messages. In the docker-events.log the message &#8220;Could not reach any registry endpoint&#8221; was repeated. I got the same message when running a &#8220;sudo docker pull ubuntu&#8221; manually on the EC2, even though network connectivity seemed ok.<\/p>\n<p>As it turns out, Docker Hub has deprecated pulls from Docker clients on 1.5 and earlier. See <a href=\"https:\/\/blog.docker.com\/2015\/10\/docker-hub-deprecation-1-5\/\">https:\/\/blog.docker.com\/2015\/10\/docker-hub-deprecation-1-5\/<\/a> for more information.<\/p>\n<p>Also, due to a bug in the ElasticBeanstalk console UI, I had to use the EB CLI command &#8220;eb config&#8221; to trigger an update of the platform.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In AWS, my Docker-based ElasticBeanstalk apps were repeatedly removing &#038; adding instances. This resulted in many &#8220;Adding instance &#8216;i-465f6382&#8217; to your environment.&#8221; type messages. In the docker-events.log the message &#8220;Could not reach any registry endpoint&#8221; was repeated. I got the same message when running a &#8220;sudo docker pull ubuntu&#8221; manually on the EC2, even though &hellip; <a href=\"https:\/\/sha.nnoncarey.com\/blog\/archives\/352\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Docker unable to pull images from Docker Hub registry&#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-352","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/posts\/352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/comments?post=352"}],"version-history":[{"count":2,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/posts\/352\/revisions"}],"predecessor-version":[{"id":355,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/posts\/352\/revisions\/355"}],"wp:attachment":[{"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/media?parent=352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/categories?post=352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sha.nnoncarey.com\/blog\/wp-json\/wp\/v2\/tags?post=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}