{"id":422,"date":"2019-02-21T11:01:49","date_gmt":"2019-02-21T16:01:49","guid":{"rendered":"http:\/\/mfna.org\/rfo\/?p=422"},"modified":"2019-02-21T11:02:34","modified_gmt":"2019-02-21T16:02:34","slug":"docker-doesnt-do-like-windows","status":"publish","type":"post","link":"https:\/\/mfna.org\/rfo\/2019\/02\/21\/docker-doesnt-do-like-windows\/","title":{"rendered":"Docker Doesn&#8217;t Do\/Like Windows"},"content":{"rendered":"\n<p>This is a &#8220;techie&#8221; article\/rant, so if you&#8217;re reading this and not into technology, I suggest you move on.  Much of what I&#8217;m posting about requires explanation anyway, and doing so would make this article so much longer&#8230;<\/p>\n\n\n\n<p>I&#8217;ve become interested in Docker recently as the result of a number of customer questions.  Docker is a way to &#8220;containerize&#8221; applications.  It&#8217;s similar to virtual machines, except VMs deploy a guest operating system inside their silo, whereas containers leverage the host OS directly. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"496\" src=\"http:\/\/mfna.org\/rfo\/wp-content\/uploads\/2019\/02\/Container_vs_VM_Edited-1024x496.jpg\" alt=\"\" class=\"wp-image-423\" srcset=\"https:\/\/mfna.org\/rfo\/wp-content\/uploads\/2019\/02\/Container_vs_VM_Edited-1024x496.jpg 1024w, https:\/\/mfna.org\/rfo\/wp-content\/uploads\/2019\/02\/Container_vs_VM_Edited-300x145.jpg 300w, https:\/\/mfna.org\/rfo\/wp-content\/uploads\/2019\/02\/Container_vs_VM_Edited-768x372.jpg 768w, https:\/\/mfna.org\/rfo\/wp-content\/uploads\/2019\/02\/Container_vs_VM_Edited-500x242.jpg 500w, https:\/\/mfna.org\/rfo\/wp-content\/uploads\/2019\/02\/Container_vs_VM_Edited.jpg 1815w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Containers vs. Virtual Machines (image courtesy docker.com)<\/figcaption><\/figure><\/div>\n\n\n\n<p>Hearing that one of my colleagues had done some preliminary work in &#8220;containerizing&#8221; our company&#8217;s product, I wanted to see it running &#8220;natively&#8221; on my Mac.  Docker Desktop for Mac is free, so I downloaded and installed it.  The next step was fetching (called &#8220;pulling&#8221;) the app from a Docker online repository, which worked like a charm.  Once running, I pointed my (Google Chrome) browser to the URL specified by Docker on my laptop, and voil\u00e0!<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"http:\/\/mfna.org\/rfo\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-21-at-10.43.29-AM-1024x640.jpg\" alt=\"\" class=\"wp-image-424\" srcset=\"https:\/\/mfna.org\/rfo\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-21-at-10.43.29-AM-1024x640.jpg 1024w, https:\/\/mfna.org\/rfo\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-21-at-10.43.29-AM-300x188.jpg 300w, https:\/\/mfna.org\/rfo\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-21-at-10.43.29-AM-768x480.jpg 768w, https:\/\/mfna.org\/rfo\/wp-content\/uploads\/2019\/02\/Screen-Shot-2019-02-21-at-10.43.29-AM-480x300.jpg 480w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>RadiantOne FID on a Mac<\/figcaption><\/figure>\n\n\n\n<p>Good stuff.  <\/p>\n\n\n\n<p>So, the next thing I wanted to do was to install Docker and our app on a Windows machine.  Since the program has no native Mac binaries, our customers are all Windows or Linux users.  I wanted to perform more of a real-world test.<\/p>\n\n\n\n<p>That&#8217;s where the problems began.  On my office computer, Docker downloaded, installed, and ran the sample programs used by online bloggers and sources (&#8220;hello-world, busybox).  But when it came to running our product, Docker threw errors, complaining that ports needed didn&#8217;t have the proper permissions.  Ugh.<\/p>\n\n\n\n<p>At home that evening, I decided to install Docker on a Windows laptop I had purchased as a &#8220;sandbox&#8221; machine (expressly for the purpose of experimenting with Windows apps).  This was even worse.  Docker wouldn&#8217;t start, claiming that resources I needed had to be enabled.  I spent the better part of a day turning on and turning off BIOS settings, Windows Hyper-V and growing frustrated by the hour.<\/p>\n\n\n\n<p>Back in my office, I thought I&#8217;d try some remedial experiments, along with the help (?) and advice (?) of the online community.  Most of what I found was old and did not address the current release of Docker.  Still, all kinds of problems and suggested solutions abound at the click of a Google search&#8230;<\/p>\n\n\n\n<p>I&#8217;m taking a break.  If I want to experiment with Docker, I&#8217;m turning to my Mac.  Docker on Windows is, for me, a deal-killer right now.<br><\/p>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a &#8220;techie&#8221; article\/rant, so if you&#8217;re reading this and not into technology, I suggest you move on. Much of what I&#8217;m posting about requires explanation anyway, and doing so would make this article so much longer&#8230; I&#8217;ve become &hellip; <a href=\"https:\/\/mfna.org\/rfo\/2019\/02\/21\/docker-doesnt-do-like-windows\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[19],"class_list":["post-422","post","type-post","status-publish","format-standard","hentry","category-technology","tag-docker-mac-windows"],"_links":{"self":[{"href":"https:\/\/mfna.org\/rfo\/wp-json\/wp\/v2\/posts\/422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mfna.org\/rfo\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mfna.org\/rfo\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mfna.org\/rfo\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mfna.org\/rfo\/wp-json\/wp\/v2\/comments?post=422"}],"version-history":[{"count":1,"href":"https:\/\/mfna.org\/rfo\/wp-json\/wp\/v2\/posts\/422\/revisions"}],"predecessor-version":[{"id":425,"href":"https:\/\/mfna.org\/rfo\/wp-json\/wp\/v2\/posts\/422\/revisions\/425"}],"wp:attachment":[{"href":"https:\/\/mfna.org\/rfo\/wp-json\/wp\/v2\/media?parent=422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mfna.org\/rfo\/wp-json\/wp\/v2\/categories?post=422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mfna.org\/rfo\/wp-json\/wp\/v2\/tags?post=422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}