- [Instructor] Now I'd like to show you
how to install Docker Enterprise Edition on Windows Server.
Keep in mind that you need Windows Server 2016
or later to perform this.
And the really cool thing about this installation,
if we scroll down here,
is that you can install Docker Enterprise Edition
on Windows Server
with just two simple PowerShell commands.
So let's go over into Windows Server
and install Docker Enterprise Edition.
Here we are on Windows Server 2016.
We're in a PowerShell command line prompt.
So I'm going to install Docker Enterprise Edition
using the install dash module space dockerprovider command
and do a dash force at the end of that.
And the dockerprovider module is installed.
And then the second command is we're going to do
an install dash package space docker
dash providername dockerprovider dash force.
And there we go.
Docker is installed.
Let's do a docker space version.
We can see our architecture there is Windows
and we're running version 17.
So let's clear the screen
and now let's run a Docker container.
So we're going to do docker container run,
and let's do hello-world colon nanoserver.
So this is the Windows nanoserver edition
of the Docker hello-world container.
And there we go.
We get the hello from Docker message
and we ran our first container on Docker for Windows Server.
Let's clear the screen.
So now let's run another container in Windows Server,
this time a much larger container.
I'm going to use the docker container run command again.
This time we're going to make it interactive,
and so we'll use the minus it switch.
And I'm going to pull this container,
microsoft/windowsservercore,
and at the end of it we're going to add powershell.
And I'll tell you it didn't take very long
for that container to start up
because I've actually already pulled that.
It's about a five gig image.
Windows containers are much larger than Linux containers.
But you can actually tell here
by the change in the command prompt
that we're in a new shell,
we're in a new container,
and we've executed PowerShell inside this Windows container.
So very cool.
We're running Windows Server Core inside Windows Server
using Docker containers.