Windows Server 2016 – Docker create a windows server container

Create a new container with the image we have downloaded.

docker run -it microsoft/nanoserver powershell
# powershell -> runs PowerShell in the container
# i -> Creates a session with the container
# t -> Open a terminal windows into the container

, <span>Windows Server 2016 – Docker create a windows server container</span>, KandZ

If you run get-computerinfo you will see the container’s information

, <span>Windows Server 2016 – Docker create a windows server container</span>, KandZ

If you want to see all the options for the docker run then:

docker run --help

, <span>Windows Server 2016 – Docker create a windows server container</span>, KandZ

or click here.

32490cookie-checkWindows Server 2016 – Docker create a windows server containerWindows Server 2016 – Docker create a windows server container

Related posts