- [Instructor] To perform many of the tasks,
that I'll demonstrate in this training course,
I created an Ubuntu Linux virtual machine
inside VMware Fusion.
In some cases, I created multiple virtual machines,
for example, to create a cluster of Docker hosts.
In this video, I'll like to show you how to create
a single Linux virtual machine that
you can use to install Docker on.
We're here in VMware Fusion I'll select that,
I'd like to create a new Linux virtual machine.
We'll choose to install that from an installation media.
Specifically, the Ubuntu Linux server ISO
that we've downloaded from Ubuntu dot com.
We'll select that installation media.
I recommend using the easy installation method,
it makes the installation fast and easy.
We'll enter a password for the first account
that we'll create on the server,
that will actually be created by
the easy installation setup.
We're going to choose to customize the
settings on the virtual machine,
specifically the resources.
We'll take the default for the virtual machine name
and then let's go in and reconfigure the processor
and memory configuration on this virtual machine.
I prefer to give the virtual machine a little bit
more CPU and memory horsepower to ensure that we can run
all of the advanced Docker features,
for example, the universal control plane,
which requires more resources than the default.
From here we'll close that out and
we'll click on the play button to start the virtual machine.
We can ignore this area here, that's not important.
The installation will take just a moment,
and with that the Linux Server is installed.
We're going to go ahead and log in with the account
that was created during the easy installation process.
And from here, to connect to this server
from your local computer, what you'll need to do is
to install the open SSH Server.
So, we're going to do a sudo-apt-get install
and install open SSH Server.
Say yes, to confirm we want to install,
and with SSH installed, we'll be able to connect to this
virtual machine from our local computer.
Whether you're running a local MAC or Windows desktop
that's powering this virtual machine.
So, let's get the IP address
and we can see here the IP address that was configured
via DHCP is 172 16 31 dot 135 in this case of course
yours is going to be different.
So, with that IP address in mind
let's go to our local terminal,
and using SSH, I'll say I want to connect
with the SSH client.
I'll give it my username that I want to connect with
and then I'll enter that IP address, 172 16 31 dot 135.
We'll take the default here to accept the SSH fingerprint.
We'll enter our password,
and there we go.
We successfully connected to the
Ubuntu virtual machine that we created
running in VMware Fusion.
One last tip before we go,
since we're running Docker orchestration on this
virtual machine and other virtual machines that we create,
it's highly recommended that you configure these
virtual machines with a static IP address.
While a dynamic IP address will work for some time,
if that IP address changes,
you can run into problems with Docker Swarm.
Thanks for watching this video.