- [Instructor] Next, let's get Docker running
on this Windows machine.
I'm going to go ahead and give a search for Docker Desktop.
Okay, and head on over to docker.com/products/dockerdesktop.
The URL on this landing page may change over time.
Let's click on Docker Desktop.
Okay, now I'm going to take a moment
to log into my Docker account.
If you don't have a Docker ID,
it's well worth setting one up.
This is what you'll use to push and pull private images,
so it is useful beyond just downloading.
If you don't have an account already,
hit the Sign Up button.
And go ahead and make one.
All right, I'm going to enter my ID.
And hit Sign In.
Okay, download Docker Desktop for Windows.
Okay, go ahead and run that.
Okay, now that it's installing,
see this box here where it says "Use Windows containers
"instead of Linux containers"?
We want to explicitly not check that.
In this course, we're going to use Linux containers
regardless of the platform we're on.
One of the key points of Docker
is that it lets you be cross-platform.
Okay, now I'm going to go ahead and hit Close and log out.
So now that I'm logged back in,
Docker has started up and informed me
there's a new update available.
I'm going to go ahead and install that one a little bit later.
This might be a good time for you to install it,
if you'd like.
Okay, Docker needs to activate Hyper-V,
Windows' virtualization platform,
so that it can create Linux containers
on a Windows environment.
This will probably require you to reboot your computer.
I'm going to go ahead and click OK.
Let's pick this back up once my computer has rebooted.
Great, now that my computer's rebooted,
I'm ready to use Docker.
So to check on the state of Docker,
you can go ahead down here, click on the tray.
If you see the whale there, you're good to go.
If things don't seem to be working right
or otherwise stuck or you get errors
about cannot connect to socket,
give this guy a right-click, and right here,
that Restart button will restart the virtual machine
on which the Linux containers live,
and that fixes about 95% of problems.
The other 5%, maybe hit the Quit and Restart option.
All right, so let's go ahead and use this.
To use Docker, I'm going to bring up the command prompt.
And run Docker info.
This just prints out information about both
the client side and server side of Docker.
So if it works, you know your system's good to go.
But that's a little boring.
Let's do something more interesting.
Docker run hello-world.
It didn't find the hello-world image locally,
so it reached out to the internet,
downloaded the system, and ran it.
This printed out a little information about Docker
and how Docker works.
All right, your Windows machine
is ready to go for this course.