In this lecture, I'll explain you how to install Docker desktop on macOS or Windows and how to create
Linux container using Docker.
Please navigate to docker.com and go to products here and select Docker Desktop.
And afterwards choose or download for Mac option if you are a mac user.
Or download for Windows.
If you are a Windows user.
If I'll click on download for Mac.
New page will be opened and I'm able to download Docker desktop from hub.docker.com.
And here if I'll scroll down, I'll find button, get Docker and if I'll click on it, new DMG file
will be downloaded.
Installation process of Docker is the same as for other macOS applications.
Simply install this application and run it.
When you run Docker you'll see such icon here in the toolbar.
Some time will be needed to.
Docker to start and when you will see Docker desktop is running, you are able to proceed.
If you are a Windows user, then process of installation is exactly the same.
You download the file and install Docker application.
Afterwards, you'll need to reload the Windows computer and you'll also see Docker desktop icon in the
toolbar.
When you see Docker desktop is running, we are ready to proceed and we are able to use Docker in terminal
afterwards.
Please open up a terminal.
Actually I have Docker desktop already installed on this computer and enter Docker command and if you
will see some list of commands then you are good to go and Docker is available for use.
Now let me demonstrate you how we are able to create a new Linux container using Docker.
For that, I'll enter Command Docker run next.
Two options I and T and afterwards you could use for example Ubuntu image.
This image will be downloaded from Docker hub and when it will be downloaded, Docker will create new
Ubuntu container on your Mac or Windows computer.
Let's press enter now.
Notice that there is no Ubuntu image available locally and in such case new image will be downloaded
from Docker hub.
Let me pause this video here and wait until download will be completed.
Alright.
Image was downloaded and now container was started and notice that I have immediately logged into the
shell of Linux computer.
It is ubuntu computer.
I am logged in as root user and here I see hostname of this computer.
And inside of this computer you are able to use all Linux features like RLS CD and so on.
And now we are actually ready to go on.
And let's get started with Linux commands.
And if you go to the same result and logged into the container, we are ready to go on.
And next, let me explain you how to get basic information about hardware and software inside of the
Linux operating system.
I'll see you next, guys.
Bye bye.