- [Instructor] If you'd like to set up your environment
to follow along with what we're doing in this course,
the great thing about Docker is that you have
so many different ways to do it.
As I covered in my installation and configuration course,
you can run Docker in AWS in Microsoft Azure.
You can run Docker on Physical Host.
You can run Docker on Windows servers
or on your local Windows desktop.
You can run Docker on Linux desktop
or even on your local Mac desktop or laptop computer.
Anywhere you can run Docker,
you can perform the commands
that we'll be performing in this course.
Now in my installation and configuration course
we were using this Docker cluster here.
We had three virtual machines.
Each one of those virtual machines is running
Ubuntu Linux 16.04 Long Term Support Edition
and while I'm running these on a very powerful
Mac system with 32 gigabytes of memory
and a powerful CPU and PCIe flash storage,
I actually don't need the power of that Mac host system
to run these Docker virtual machines because
these Docker virtual machines are small.
They have two virtual CPUs, 2 gigabytes of memory,
they have a single 20 gigabyte virtual hard disk each
and a single network adapter.
And really for this course on Docker images
you only need one virtual machine.
So you don't need very much horsepower to do what
we're doing here and honestly you don't even need
any virtual machines and that's because you can run
Docker for Mac on your host system like I'm doing here.
So here I'm at the command line of my Mac system
and this works on Docker for Windows as well.
You can do a Docker version and here you go,
you have Docker already installed.
You can do a docker image ls and see what images you have.
We don't have any at this point
but the point is the commands work locally
on your Mac or Windows system.
Here we happened to be running
the Docker 18.04 Community Edition.
If we connect to one of the virtual machines
over in the lab.
I'll connect to let's say node 1.
You can see we're running Ubuntu 16.04 as we said there.
If we do a Docker version here,
we're running Docker 17.06 Enterprise Edition
in the case of the Linux virtual machines
that we'll be using for the course.
If we do a docker image ls you can see we've got
a number of images installed here already.
Let's pretend for this course that we're going to
remove out all these images.
So we'll do a docker image rm on all of these.
In fact the easier way to do that would be
a docker image prune -a
just to get rid of all of these images.
So let's pretend that we're starting fresh
with the Linux virtual machines that we installed
Docker Enterprise Edition on
over in the Docker installation and configuration course.
We don't have any images and that's where
we'll begin this course.