Install Docker offline on Windows Server 2016 – 4sysops

Install Docker offline on Windows Server 2016 – 4sysops

Enterprise servers are not always exposed to the internet and are often sitting behind firewalls with restrictions to prohibit any malicious activity on an internet-facing server. But to install a Docker image from the Docker Hub, you need internet access. To overcome this, you can configure a Docker client to use a proxy server if one is available, but there is another way around this, which we will discuss in the following high-level steps.

Contents of this article

  • Install Docker with internet access
  • Pull the image from the Docker Hub and export it
  • Download Docker Enterprise
  • Install Docker Enterprise on Windows Server 2016
  • Load and run the image
  • Conclusion

Install Docker with internet access ^

Log in to a Windows 10 machine that has internet access, probably your laptop or workstation, and use the following URL for instructions to install Docker on Windows 10.

Once the installation is complete, run a PowerShell console and verify the Docker installation on Windows 10:

1

2

docker