{"id":239,"date":"2017-11-30T17:45:50","date_gmt":"2017-11-30T17:45:50","guid":{"rendered":"http:\/\/cheapwindowsvps.com\/blog\/?p=239"},"modified":"2025-01-20T10:11:27","modified_gmt":"2025-01-20T10:11:27","slug":"how-to-install-docker-on-debian-9-1","status":"publish","type":"post","link":"https:\/\/cheapwindowsvps.com\/blog\/how-to-install-docker-on-debian-9-1\/","title":{"rendered":"How to Install Docker on Debian 9.1"},"content":{"rendered":"<p>Just like SSL, Docker has made it way up the &#8216;nice-to-have&#8217; things list to among the top five &#8216;must-haves.&#8217; The unprecedented success of lightweight containers is a reflection of just how useful (and not to mention, light on resources) this service is for DevOps teams.<\/p>\n<p>&nbsp;<\/p>\n<p>If you&#8217;re running the 9.1 (codenamed &#8216;Stretch&#8217;) version of the Debian Linux, <a href=\"https:\/\/docs.docker.com\/engine\/installation\/linux\/docker-ce\/debian\/\" target=\"_blank\" rel=\"noopener\">installing Docker<\/a> is pretty easy.<\/p>\n<p>&nbsp;<\/p>\n<p>As a prerequisite, you need to install support for SSL-based HTTP connections, as well as the dirmngr package that will allow Docker to manipulate your file system:<\/p>\n<p>&nbsp;<\/p>\n<blockquote>\n<p># apt-get install apt-transport-https dirmngr<\/p>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p>Once this is done, you can add the Docker repository:<\/p>\n<p>&nbsp;<\/p>\n<blockquote>\n<p># echo &#8216;deb https:\/\/apt.dockerproject.org\/repo debian-stretch main&#8217; &gt;&gt; \/etc\/apt\/sources.list<\/p>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p>After this, you need to add this repository&#8217;s keys to your main database, so that your system trusts this installation as authentic:<\/p>\n<p>&nbsp;<\/p>\n<blockquote>\n<p># apt-key adv &#8211;keyserver hkp:\/\/p80.pool.sks-keyservers.net:80 &#8211;recv-keys 58118E89F3A912897C070ADBF76221572C52609D<\/p>\n<p># apt-get update<\/p>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p>Finally, installing the main thing:<\/p>\n<p>&nbsp;<\/p>\n<blockquote>\n<p># apt-get install docker-engine<\/p>\n<\/blockquote>\n<p>&nbsp;<\/p>\n<p>And that&#8217;s it! With this, Docker is up and running on your Debian 9.1 machine.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just like SSL, Docker has made it way up the &#8216;nice-to-have&#8217; things list to among the top five &#8216;must-haves.&#8217; The unprecedented success of lightweight containers is a reflection of just how useful (and not to mention, light on resources) this service is for DevOps teams. &nbsp; If you&#8217;re running the 9.1 (codenamed &#8216;Stretch&#8217;) version of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-239","post","type-post","status-publish","format-standard","hentry","category-blog"],"_links":{"self":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/comments?post=239"}],"version-history":[{"count":3,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/239\/revisions"}],"predecessor-version":[{"id":243,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/239\/revisions\/243"}],"wp:attachment":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/media?parent=239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/categories?post=239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/tags?post=239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}