{"id":49,"date":"2016-02-24T21:39:54","date_gmt":"2016-02-25T05:39:54","guid":{"rendered":"http:\/\/www.nathanbak.com\/?p=49"},"modified":"2026-01-02T20:02:38","modified_gmt":"2026-01-03T04:02:38","slug":"what-os-for-docker-host-part-2","status":"publish","type":"post","link":"https:\/\/nathanbak.com\/?p=49","title":{"rendered":"What OS for Docker host? (Part 2)"},"content":{"rendered":"<p>This is a continuation from <a href=\"http:\/\/www.nathanbak.com\/?p=37\">What OS for Docker host? (Part 2)<\/a> where I tried out Atomic Host and Alpine.<\/p>\n<h2>RedHat or Ubuntu<\/h2>\n<p>I set up machines to run Docker all the time usually on a RedHat\/CentOS or Ubuntu system.\u00a0 If I had selected either of those, the laptop would be up and running already, but that&#8217;s not the real point of this exercise.\u00a0 I&#8217;m interested in learning about alternatives&#8211;especially those that will give me Docker goodness and not a lot of stuff I don&#8217;t need.\u00a0 If I couldn&#8217;t find anything else, plan B was to fall back to my comfort zone, but that would mean failure.\u00a0 And so I decided that I wouldn\u2019t use RedHat or Ubuntu.<\/p>\n<h2>Puppy<\/h2>\n<p>I like <a href=\"http:\/\/puppylinux.org\">Puppy Linux<\/a> because it runs quickly even on older hardware.\u00a0 It&#8217;s been awhile since I&#8217;ve played with it and I found there are now more flavors.\u00a0 The &#8220;Long-Term-Support&#8221; releases were pretty old (two or more years) and so I didn&#8217;t want those (Docker likes a newer kernel).\u00a0 So I downloaded a more recent &#8220;Slacko Puppy 6.3&#8221; which is apparently a Slackware-compatible version of Puppy.\u00a0 The download and install when fairly smoothly except for some issues getting things setup correctly with GParted.\u00a0 However, when I tried to install Docker I got an error saying that Docker only supports 64 bit platforms.\u00a0 I didn&#8217;t know that and had grabbed the 32 bit release.<\/p>\n<p>Another download, burn and install later, I had the 64 bit version of Puppy ready to go.\u00a0 There were three different network configuration tools and the first two didn&#8217;t seem to want to set up the wireless for me, but the third one I tried (called &#8220;Frisbee&#8221;) went quite smoothly.\u00a0 However, I was unable to SSH into the machine&#8211;there was no SSH server installed.\u00a0 I used the package manager to install OpenSSH.\u00a0 The first couple attempts failed with no useful error messages.\u00a0 Eventually it reported success, but I never managed to connect via SSH.<\/p>\n<p>The package manager didn&#8217;t seem to know about Docker and I ran into the same problem I had with Alpine when trying to use the Docker installer&#8211;the platform isn&#8217;t supported.\u00a0 So I did a <a href=\"https:\/\/docs.docker.com\/engine\/installation\/binaries\/\">manual install of the binary<\/a>.\u00a0 Unfortunately, when I tried running the Docker daemon I got errors stating the Docker couldn&#8217;t create the default bridge due to problems setting up the ip tables.\u00a0 And so I decided that I wouldn\u2019t use Puppy Linux.<\/p>\n<h2>Rancher OS<\/h2>\n<p>With a little searching, I found <a href=\"http:\/\/rancher.com\/rancher-os\/\">Rancher OS<\/a> which is allegedly &#8220;the perfect little place to run Docker&#8221;.\u00a0 I found the concept being the OS to be intriguing&#8211;apart from a small base which provides footing for Docker to run, all the system services are run in Docker containers.\u00a0 There are actually two Docker daemons running: one for the system and one for &#8220;normal&#8221; Docker stuff.<\/p>\n<p>The install process took me a few tries, but admittedly it was user error on my part.\u00a0 Rancher OS didn&#8217;t want to install on the hard drive at first because it was partitioned and mounted and so I had to search around for the magic commands to remedy that.\u00a0 I then had an install go through, but when I booted up I couldn&#8217;t log in&#8211;apparently once installed the default user\/pass no longer works and you can only connect in via the keys provided during install.\u00a0 I had provided no key and thus had no way to access the newly install operating system.\u00a0 Note that this what not the fault of the <a href=\"http:\/\/docs.rancher.com\/os\/running-rancheros\/server\/install-to-disk\/\">installation instructions<\/a>, but rather my failure to read and follow carefully.\u00a0 Going through a the next time was a smooth process.<\/p>\n<p>With the auth key, I was easily able to ssh into the machine.\u00a0 I had no problem running various Docker containers.\u00a0 The OS came with version 1.9.1 of Docker, but I realized I hadn&#8217;t installed the latest version of Rancher OS.\u00a0 The upgrade process was as simple as running:<\/p>\n<pre>sudo ros os upgrade<\/pre>\n<p>An interesting thing about both the install and upgrade was that most of the process seems to be just pulling down Docker images.\u00a0 It only took a couple minutes and then apparently the operating system was updated to v0.4.3. When I checked the Docker version again I was pleased to see that it now reported 1.10.1 which is exactly what i wanted.<\/p>\n<p>So now it seemed like the only thing that I was missing was wireless network connectivity.\u00a0 Wireless, or rather lack there of, is a deal breaker for me, but I had found Rancher OS so interesting that I resorted to something I hate to do.\u00a0 I <a href=\"https:\/\/forums.rancher.com\/t\/wireless-networking-with-rancheros\/\">asked for help<\/a>.\u00a0 Apparently, it is somehow possible to get wireless to work with Rancher OS, but no instructions were immediately forthcoming.\u00a0 This was rather a bummer to me because I really hoped that Rancher OS would be it for me.\u00a0 And so I decided that I wouldn\u2019t use Puppy Linux.<\/p>\n<p>The story continues in <a href=\"http:\/\/www.nathanbak.com\/?p=65\">part 3<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a continuation from What OS for Docker host? (Part 2) where I tried out Atomic Host and Alpine. RedHat or Ubuntu I set up machines to run Docker all the time usually on a RedHat\/CentOS or Ubuntu system.\u00a0 If I had selected either of those, the laptop would be up and running already, &hellip; <a href=\"https:\/\/nathanbak.com\/?p=49\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;What OS for Docker host? (Part 2)&#8221;<\/span><\/a><\/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":[8],"class_list":["post-49","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-docker"],"_links":{"self":[{"href":"https:\/\/nathanbak.com\/index.php?rest_route=\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nathanbak.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nathanbak.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nathanbak.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nathanbak.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=49"}],"version-history":[{"count":9,"href":"https:\/\/nathanbak.com\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions"}],"predecessor-version":[{"id":81,"href":"https:\/\/nathanbak.com\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions\/81"}],"wp:attachment":[{"href":"https:\/\/nathanbak.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nathanbak.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nathanbak.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}