{"id":805,"date":"2021-01-21T11:51:52","date_gmt":"2021-01-21T11:51:52","guid":{"rendered":"https:\/\/www.velaninfo.com\/rs\/?post_type=techtips&#038;p=805"},"modified":"2021-01-21T11:51:52","modified_gmt":"2021-01-21T11:51:52","slug":"how-to-install-docker-on-windows-server","status":"publish","type":"techtips","link":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-install-docker-on-windows-server\/","title":{"rendered":"How to Install Docker on Windows Server 2016?"},"content":{"rendered":"<p>Kernel containerization is a feature that is available in Windows 2016 and is a platform for software packages to run as a service product. It uses OS-level virtualization to deliver software packages called containers. We need to ensure all the windows server security patches are updated before the installation of Docker.<\/p>\n<p><strong>VERIFYING WINDOWS UPDATES<\/strong><\/p>\n<p>Go to start menu and click on\u00a0<strong>settings.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-806\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/VERIFYING-WINDOWS-UPDATES.jpg\" alt=\"VERIFYING WINDOWS UPDATES\" width=\"241\" height=\"378\" \/><\/p>\n<p>Then click on the\u00a0<strong>Update &amp; security<\/strong>\u00a0option.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-807\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/Update-security-option.jpg\" alt=\"Update &amp; security\u00a0option\" width=\"524\" height=\"248\" \/><\/p>\n<p>We need to ensure that the container host has completely update-to-date.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-808\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/update-status.jpg\" alt=\"update status \" width=\"528\" height=\"196\" \/><\/p>\n<p><strong>INSTALLING NUGET PROVIDER<\/strong><\/p>\n<p>Click on the start menu and right-click on <strong>PowerShell<\/strong>\u00a0icon to run as administrator.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-809\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/INSTALLING-NUGET-PROVIDER.jpg\" alt=\"INSTALLING NUGET PROVIDER\" width=\"393\" height=\"401\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-810\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/PowerShell-icon-to-run-as-administrator.jpg\" alt=\"PowerShell icon to run as administrator\" width=\"443\" height=\"106\" \/><\/p>\n<p><strong>Nuget Installation<\/strong><\/p>\n<p>To install the Nuget PowerShell module use following command.<\/p>\n<p><em>Install-Module -Name DockerMsftProvider -Repository PSGallery \u2013Force<\/em><\/p>\n<p>It will prompt you to install NuGet provider. Type Y and press enter to continue<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-811\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/Nuget-Installation.jpg\" alt=\"Nuget Installation\" width=\"667\" height=\"127\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-813\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/NuGet-provider.jpg\" alt=\"NuGet provider\" width=\"672\" height=\"107\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-814\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/prompt-you-to-install-NUGET-provider.jpg\" alt=\"prompt you to install NUGET provider\" width=\"678\" height=\"108\" \/><\/p>\n<p>Once the installation is over it will return to PowerShell command-line mode.<\/p>\n<p><strong>Docker Installation<\/strong><\/p>\n<p>In PowerShell please execute the following command to install <a href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/docker-certificate-authority\/\"><strong>Docker service<\/strong><\/a>.<\/p>\n<p><em>Install-Package -Name docker -ProviderName DockerMsftProvider \u2013verbose<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-815\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/Docker-Installation.jpg\" alt=\"Docker Installation\" width=\"672\" height=\"35\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-816\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/install-Docker-service.jpg\" alt=\"install Docker service\" width=\"685\" height=\"157\" \/><\/p>\n<p>Next press\u00a0<strong>Y<\/strong>\u00a0to continue the installation.<\/p>\n<p>Now the Docker will be installed on this server. Reboot the host server once the installation completed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-817\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/Docker-will-be-installed-on-this-server.jpg\" alt=\"Docker will be installed on this server\" width=\"685\" height=\"242\" \/><\/p>\n<p>After the reboot, in PowerShell use the following command to check the status of Docker service.<\/p>\n<p><em>get-service docker<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-818\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/get-service-docker.jpg\" alt=\"get-service docker\" width=\"412\" height=\"167\" \/><\/p>\n<p>To start the <a href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-remove-dockers-and-configure-with-btrfs\/\"><strong>docker service<\/strong><\/a>, please use the following command from PowerShell screen.<\/p>\n<p><em>start-service docker<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-819\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/start-service-docker.jpg\" alt=\"start-service docker\" width=\"475\" height=\"65\" \/><\/p>\n<p><strong>Complete the installation by the verification.<\/strong><\/p>\n<p>Go to C:\\Program Files folder and you can view the folder named Docker and it has docker.exe, metadata.json files.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-820\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/metadata.json-files.jpg\" alt=\"metadata.json files\" width=\"476\" height=\"175\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-821\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/Docker-installed-and-running.jpg\" alt=\"Docker installed and running \" width=\"487\" height=\"123\" \/><\/p>\n<p>Execute the following command to check the version Docker installed and running on this server.<\/p>\n<p>It will show both server &amp; client engine versions.<\/p>\n<p><em>docker version<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-822\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/docker-version.jpg\" alt=\"docker version\" width=\"421\" height=\"320\" \/><\/p>\n<p>We have successfully installed Docker on Windows 2016 server.<\/p>\n<p>At <a href=\"https:\/\/www.velaninfo.com\/industries-served\"><strong>Velan<\/strong><\/a>, our server support engineers can help you installing Dockers on your Windows 2016 Server. We troubleshoot problems like these for our clients every day.\u00a0If you are interested in our service, please fill the <a href=\"https:\/\/www.velaninfo.com\/contact\"><strong>Quick connect form<\/strong><\/a> to get in touch with us<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kernel containerization is a feature that is available in Windows 2016 and is a platform for software packages to run as a service product. It uses OS-level virtualization to deliver software packages called containers. We need to ensure all the windows server security patches are updated before the installation of Docker. VERIFYING WINDOWS UPDATES Go&#8230;<a class=\"continue-reading text-uppercase\" href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-install-docker-on-windows-server\/\"> Continue Reading <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/themes\/velaninfo\/images\/reading_arw.png\" alt=\"Continue Reading\" width=\"16\" height=\"12\"\/><\/a><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"tags":[],"class_list":["post-805","techtips","type-techtips","status-publish","hentry","Categories_tech_tip-dockers","Categories_tech_tip-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.5 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Docker on Windows 2016 | Velan<\/title>\n<meta name=\"description\" content=\"Steps to Install Docker on a Windows 2016 Server | Velan offers Remote Server Support Services\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-install-docker-on-windows-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Docker on Windows Server 2016?\" \/>\n<meta property=\"og:description\" content=\"Steps to Install Docker on a Windows 2016 Server | Velan offers Remote Server Support Services\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-install-docker-on-windows-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Velan\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/VERIFYING-WINDOWS-UPDATES.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-install-docker-on-windows-server\\\/\",\"url\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-install-docker-on-windows-server\\\/\",\"name\":\"How to Install Docker on Windows 2016 | Velan\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-install-docker-on-windows-server\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-install-docker-on-windows-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/VERIFYING-WINDOWS-UPDATES.jpg\",\"datePublished\":\"2021-01-21T11:51:52+00:00\",\"description\":\"Steps to Install Docker on a Windows 2016 Server | Velan offers Remote Server Support Services\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-install-docker-on-windows-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-install-docker-on-windows-server\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-install-docker-on-windows-server\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/VERIFYING-WINDOWS-UPDATES.jpg\",\"contentUrl\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/VERIFYING-WINDOWS-UPDATES.jpg\",\"width\":241,\"height\":378,\"caption\":\"VERIFYING WINDOWS UPDATES\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/how-to-install-docker-on-windows-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech Tips\",\"item\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/techtips\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Install Docker on Windows Server 2016?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/#website\",\"url\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/\",\"name\":\"Velan\",\"description\":\"Velaninfo Services India Pvt Ltd\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.velaninfo.com\\\/rs\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Docker on Windows 2016 | Velan","description":"Steps to Install Docker on a Windows 2016 Server | Velan offers Remote Server Support Services","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-install-docker-on-windows-server\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Docker on Windows Server 2016?","og_description":"Steps to Install Docker on a Windows 2016 Server | Velan offers Remote Server Support Services","og_url":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-install-docker-on-windows-server\/","og_site_name":"Velan","og_image":[{"url":"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/VERIFYING-WINDOWS-UPDATES.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-install-docker-on-windows-server\/","url":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-install-docker-on-windows-server\/","name":"How to Install Docker on Windows 2016 | Velan","isPartOf":{"@id":"https:\/\/www.velaninfo.com\/rs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-install-docker-on-windows-server\/#primaryimage"},"image":{"@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-install-docker-on-windows-server\/#primaryimage"},"thumbnailUrl":"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/VERIFYING-WINDOWS-UPDATES.jpg","datePublished":"2021-01-21T11:51:52+00:00","description":"Steps to Install Docker on a Windows 2016 Server | Velan offers Remote Server Support Services","breadcrumb":{"@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-install-docker-on-windows-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-install-docker-on-windows-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-install-docker-on-windows-server\/#primaryimage","url":"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/VERIFYING-WINDOWS-UPDATES.jpg","contentUrl":"https:\/\/www.velaninfo.com\/rs\/wp-content\/uploads\/2021\/01\/VERIFYING-WINDOWS-UPDATES.jpg","width":241,"height":378,"caption":"VERIFYING WINDOWS UPDATES"},{"@type":"BreadcrumbList","@id":"https:\/\/www.velaninfo.com\/rs\/techtips\/how-to-install-docker-on-windows-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.velaninfo.com\/rs\/"},{"@type":"ListItem","position":2,"name":"Tech Tips","item":"https:\/\/www.velaninfo.com\/rs\/techtips\/"},{"@type":"ListItem","position":3,"name":"How to Install Docker on Windows Server 2016?"}]},{"@type":"WebSite","@id":"https:\/\/www.velaninfo.com\/rs\/#website","url":"https:\/\/www.velaninfo.com\/rs\/","name":"Velan","description":"Velaninfo Services India Pvt Ltd","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.velaninfo.com\/rs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips"}],"about":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/types\/techtips"}],"author":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/comments?post=805"}],"version-history":[{"count":1,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/805\/revisions"}],"predecessor-version":[{"id":823,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/techtips\/805\/revisions\/823"}],"wp:attachment":[{"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/media?parent=805"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.velaninfo.com\/rs\/wp-json\/wp\/v2\/tags?post=805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}