DOCKER - 5 Installation Docker
##ssssss Hello everyone, and welcome to this introductory course to Docker.
Now we will actually enter the installation phase.
First we will download
and install Docker. We are going to modify some of the
settings, or at least check them.
Next we will clone my repo.
We will also take an editor if
you don't have a code editor.
Next, we'll check out a few options.
So the first thing we're going to do is go to store.docker.com.
I will click on Docker CE in the middle.
Next, Docker Community Edition
for Windows.
Here you will notice that, by default,
when I click on the get Docker button, this one goes
download Docker for Windows.
It says it requires Windows 10 Pro.
If I had an older version of Windows, which we'll show later,
I should click on the Docker Toolbox.
But here I will press get docker
And besides, by default it is the installation of the Stable edition, and not The Edge. If I
wanted Edge, I could just
scroll a little further and choose Edge.
Let's save here.
Next, we will start the installation.
The installation is fairly typical.
He's going to ask me if it's good. Now that it's installed, you'll notice that it's not running.
Let me run it.
He's going to ask me about Hyper-V.
If Hyper-V is not installed on
your computer, this will activate it and
will restart it.
This means that you must have local administrative rights.
Now you can see that I rebooted successfully and Docker is starting in this little icon at the bottom.
I will open my powershell and type docker version
This is the version I installed.
This is the latest stable release.
If you remember, in the background,
you are using Hyper-V.
So I can launch the Hyper-V application.
And I can see That on my machine, there is indeed a virtual machine: Linux Moby.
Let's just go to the settings.
Right click on this small icon,
settings.
You will need to check here if for example you want to store the code you might use in
this lesson on another disc
The rest of these options you will probably leave as is. Except this part where you can allocate more memory in case you find Docker running too slow
When I apply these settings,
You will need to restart Docker.
During this I will clone my repo.
I'm going to put all my code in a directory called Docker code.
I will now open powershell
I will clone my repo
Now if I do a
dir here you can see I'm in the
folder with Udemy Docker Mastery, and that's it.
If you are not up to date with code editors, the recommended one is Visual Studio.
you can just search vs code, and you will find the website.
Then you can download it
and install it, like a regular Windows application, and it works just fine.
One of the best things about this editor is that it has built-in Docker syntax.
So this will allow me to open Docker compose files
and Docker files, like
you will find out in
this course. It has a slew of little features that make life easier like little hints on how to use it.
That's all for this video, but see you soon for the next one.