1
00:00:04,350 --> 00:00:10,260
In this lecture, I'll explain you how to install Docker desktop on macOS or Windows and how to create

2
00:00:10,290 --> 00:00:12,210
Linux container using Docker.

3
00:00:12,390 --> 00:00:18,690
Please navigate to docker.com and go to products here and select Docker Desktop.

4
00:00:19,690 --> 00:00:24,260
And afterwards choose or download for Mac option if you are a mac user.

5
00:00:24,280 --> 00:00:25,570
Or download for Windows.

6
00:00:25,570 --> 00:00:26,980
If you are a Windows user.

7
00:00:27,130 --> 00:00:29,230
If I'll click on download for Mac.

8
00:00:29,320 --> 00:00:35,110
New page will be opened and I'm able to download Docker desktop from hub.docker.com.

9
00:00:35,110 --> 00:00:42,430
And here if I'll scroll down, I'll find button, get Docker and if I'll click on it, new DMG file

10
00:00:42,430 --> 00:00:43,720
will be downloaded.

11
00:00:43,990 --> 00:00:48,640
Installation process of Docker is the same as for other macOS applications.

12
00:00:48,640 --> 00:00:51,370
Simply install this application and run it.

13
00:00:51,400 --> 00:00:55,630
When you run Docker you'll see such icon here in the toolbar.

14
00:00:55,630 --> 00:00:57,430
Some time will be needed to.

15
00:00:57,460 --> 00:01:02,250
Docker to start and when you will see Docker desktop is running, you are able to proceed.

16
00:01:02,260 --> 00:01:06,280
If you are a Windows user, then process of installation is exactly the same.

17
00:01:06,280 --> 00:01:09,880
You download the file and install Docker application.

18
00:01:09,880 --> 00:01:15,490
Afterwards, you'll need to reload the Windows computer and you'll also see Docker desktop icon in the

19
00:01:15,490 --> 00:01:16,180
toolbar.

20
00:01:16,760 --> 00:01:22,660
When you see Docker desktop is running, we are ready to proceed and we are able to use Docker in terminal

21
00:01:22,670 --> 00:01:23,360
afterwards.

22
00:01:23,360 --> 00:01:24,890
Please open up a terminal.

23
00:01:24,890 --> 00:01:30,620
Actually I have Docker desktop already installed on this computer and enter Docker command and if you

24
00:01:30,620 --> 00:01:35,960
will see some list of commands then you are good to go and Docker is available for use.

25
00:01:35,990 --> 00:01:42,050
Now let me demonstrate you how we are able to create a new Linux container using Docker.

26
00:01:42,050 --> 00:01:45,770
For that, I'll enter Command Docker run next.

27
00:01:45,770 --> 00:01:50,840
Two options I and T and afterwards you could use for example Ubuntu image.

28
00:01:50,840 --> 00:01:56,720
This image will be downloaded from Docker hub and when it will be downloaded, Docker will create new

29
00:01:56,720 --> 00:02:00,290
Ubuntu container on your Mac or Windows computer.

30
00:02:00,320 --> 00:02:01,790
Let's press enter now.

31
00:02:02,850 --> 00:02:08,729
Notice that there is no Ubuntu image available locally and in such case new image will be downloaded

32
00:02:08,729 --> 00:02:09,660
from Docker hub.

33
00:02:09,690 --> 00:02:13,710
Let me pause this video here and wait until download will be completed.

34
00:02:14,010 --> 00:02:14,760
Alright.

35
00:02:14,760 --> 00:02:21,360
Image was downloaded and now container was started and notice that I have immediately logged into the

36
00:02:21,360 --> 00:02:23,490
shell of Linux computer.

37
00:02:23,490 --> 00:02:24,900
It is ubuntu computer.

38
00:02:25,140 --> 00:02:30,720
I am logged in as root user and here I see hostname of this computer.

39
00:02:30,720 --> 00:02:37,350
And inside of this computer you are able to use all Linux features like RLS CD and so on.

40
00:02:37,680 --> 00:02:39,630
And now we are actually ready to go on.

41
00:02:39,630 --> 00:02:41,970
And let's get started with Linux commands.

42
00:02:41,970 --> 00:02:46,320
And if you go to the same result and logged into the container, we are ready to go on.

43
00:02:46,320 --> 00:02:52,440
And next, let me explain you how to get basic information about hardware and software inside of the

44
00:02:52,440 --> 00:02:54,090
Linux operating system.

45
00:02:54,240 --> 00:02:55,300
I'll see you next, guys.

46
00:02:55,320 --> 00:02:55,890
Bye bye.

