O'Reilly logo

Getting Started with Nano Server by Charbel Nemnom

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing Docker

Docker is needed to work with Windows containers. The Docker installer for Windows is now available in an online package repository. It can be found and installed using the Docker provider of the package management (a.k.a. OneGet) PowerShell module. The provider needs to be installed before we start using it.

The following PowerShell cmdlets can be used to install the provider.

  1. Open a remote PowerShell session on Nano Server. This assumes that you have already completed the steps described earlier:
$Session | Enter-PSSession
  1. Run the following command within the remote PowerShell session to install the Docker provider PowerShell module to the Nano machine:
 Install-Module -Name DockerMsftProvider -Repository PSGallery ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required