1
00:00:04,910 --> 00:00:09,530
Let's start with the creation of our services in images, gallery application.

2
00:00:09,890 --> 00:00:13,730
And first, let's look highrise episodes for that.

3
00:00:13,730 --> 00:00:16,340
You need to have Dulquer installed on your computer.

4
00:00:16,790 --> 00:00:20,690
You could verify whether it is available or not by opening any terminal.

5
00:00:21,020 --> 00:00:23,900
If you are running the API service here, please stop it.

6
00:00:24,050 --> 00:00:32,689
Control C and enter Docker does disbursal and I see command not found Docker, and that means that now

7
00:00:32,689 --> 00:00:35,060
I need to install Docker on this computer.

8
00:00:35,690 --> 00:00:41,870
Let's go to web browser and here the new tab type Docker download.

9
00:00:43,790 --> 00:00:50,930
Click on the link that will lead you to download page of the dock of desktop and Doggerel Desktop is

10
00:00:50,930 --> 00:00:54,650
the application that you could install on macOS or on Windows.

11
00:00:54,890 --> 00:01:00,920
And if you are a Linux user, you need to install Docker engine and it is available for different Linux

12
00:01:00,920 --> 00:01:04,700
like operating systems like Fedora, CentOS and so on.

13
00:01:05,420 --> 00:01:11,030
I will go ahead with installation of the Docker desktop on Mac and I'll choose Mac with in-built cube.

14
00:01:11,040 --> 00:01:12,740
That's what I am using right now.

15
00:01:12,950 --> 00:01:14,420
Let me click on this option.

16
00:01:15,020 --> 00:01:16,790
I will get back to you when it is downloaded.

17
00:01:17,780 --> 00:01:19,860
Alright, installation file was downloaded.

18
00:01:19,880 --> 00:01:20,840
Let me click on it.

19
00:01:22,400 --> 00:01:24,620
Dragging out two applications folder.

20
00:01:25,910 --> 00:01:27,530
And now let's open it up.

21
00:01:28,660 --> 00:01:29,590
Click here on.

22
00:01:30,700 --> 00:01:36,580
Here is the problem that Dr. Desktop needs privileged access to enter password for count, the logged

23
00:01:36,580 --> 00:01:37,210
in user.

24
00:01:38,260 --> 00:01:42,430
And is starting right now here, I see this small icon.

25
00:01:43,530 --> 00:01:44,820
Docker engine start in.

26
00:01:46,080 --> 00:01:52,590
Dr Desktop has languished, and here you are able to start the very simple, basic tutorial by clicking

27
00:01:52,590 --> 00:01:53,670
on the Start button.

28
00:01:54,030 --> 00:01:57,150
If you're completely new to Docker, I will not do that.

29
00:01:57,390 --> 00:02:00,980
Instead, I'll close this window and close this gap in the web browser.

30
00:02:00,990 --> 00:02:02,280
I don't need it anymore.

31
00:02:02,550 --> 00:02:08,139
And no, let me go to the terminal and he'll let me open up new tab and enter Docker.

32
00:02:08,280 --> 00:02:16,080
There's this version, and now I see that there is Docker version 20 to the 10.5 available on my computer.

33
00:02:16,290 --> 00:02:22,200
And if you already had Docker installed previously, I highly recommend to you to update to the latest

34
00:02:22,200 --> 00:02:23,310
version and enable.

35
00:02:23,310 --> 00:02:29,700
Also out of this because Docker team very often releases updates and new features for Docker.

36
00:02:29,820 --> 00:02:31,230
So please keep it updated.

37
00:02:31,680 --> 00:02:32,160
All right.

38
00:02:32,340 --> 00:02:38,820
No, we're able to start using Docker and deferrals to what we could do is to launch very basic container

39
00:02:38,910 --> 00:02:40,650
using a Hello World image.

40
00:02:41,040 --> 00:02:44,040
Let me do that by entering the command Docker run.

41
00:02:44,160 --> 00:02:47,700
Hello, this world like this?

42
00:02:48,120 --> 00:02:50,010
Let's press, enter and see what will happen.

43
00:02:50,370 --> 00:02:53,650
Let's wait here a bit, and afterwards I'll explain to you what happens?

44
00:02:53,790 --> 00:02:59,490
Your step by step solo process finished, and let me scroll to the beginning of this output and first

45
00:02:59,490 --> 00:03:00,540
message is secure.

46
00:03:00,540 --> 00:03:01,410
Is falling.

47
00:03:01,620 --> 00:03:04,650
Unable to find image Hello World latest locally.

48
00:03:05,100 --> 00:03:10,020
And it means that after this command, Docker tries to find image gold.

49
00:03:10,050 --> 00:03:10,800
Hello World.

50
00:03:11,760 --> 00:03:18,000
Because I installed Doga from scratch, there were no images available locally on my computer, and

51
00:03:18,000 --> 00:03:20,670
that's why you decided to pull such image.

52
00:03:20,670 --> 00:03:28,800
Goldhill old from Docker hub that this remote registry for different Docker images latest hero stands

53
00:03:28,800 --> 00:03:29,400
for tech.

54
00:03:29,850 --> 00:03:35,130
Same image might have different techs and latest is the latest that is available.

55
00:03:35,130 --> 00:03:37,820
Addo-Carr up after afterwards icy status.

56
00:03:37,830 --> 00:03:45,150
Download your image for Hello World latest and this output actually comes from the container that was

57
00:03:45,150 --> 00:03:46,440
launched by doggerel.

58
00:03:46,680 --> 00:03:47,520
Hello from Docker.

59
00:03:47,520 --> 00:03:51,660
This message shows that your installation appears to be working correctly and so on.

60
00:03:52,290 --> 00:03:54,290
This is just text message.

61
00:03:54,300 --> 00:04:02,520
Nathan Gills and single purpose of this hello ruled container is to print sage text to the terminal

62
00:04:02,790 --> 00:04:03,660
and exit.

63
00:04:03,990 --> 00:04:06,510
Here I see that I was written to the command prompt.

64
00:04:06,780 --> 00:04:13,320
It means that Docker container is not running anymore, and if I enter your command Docker images,

65
00:04:14,100 --> 00:04:18,720
I'll see list of the images that are now available locally on this computer.

66
00:04:18,959 --> 00:04:23,220
And though there was only a single image gold hello rollout heuristic.

67
00:04:23,220 --> 00:04:30,840
Latest heroes image I'd created six weeks ago, this time when it was updated at Docker Hub and its

68
00:04:30,840 --> 00:04:33,930
size is very small, just 13 kilobytes.

69
00:04:34,560 --> 00:04:40,230
I could also list all containers that are running on this computer by using command Docker container

70
00:04:40,530 --> 00:04:43,380
bills and I see more containers.

71
00:04:43,650 --> 00:04:47,130
But if I add the option, there's a distance for all.

72
00:04:47,320 --> 00:04:54,510
I'll see that there was container that was created from image Helloworld and it was created three minutes

73
00:04:54,510 --> 00:04:57,750
ago and exited also three minutes ago.

74
00:04:58,320 --> 00:04:59,580
And that's what I told you.

75
00:04:59,940 --> 00:05:04,920
Single purpose of the container to the degree that the using this image is to print thanks to the terminal

76
00:05:05,040 --> 00:05:07,650
and afterwards such container exits.

77
00:05:08,340 --> 00:05:14,100
All right, now Docker is available and the now you know how to list the images on your computer and

78
00:05:14,100 --> 00:05:16,410
how to list containers on your computer.

79
00:05:17,020 --> 00:05:22,620
Most time to move on to the next step and the next step is localization of our API service.

80
00:05:22,890 --> 00:05:29,430
We will create Docker file and build custom image from our API folder, and let's proceed with that

81
00:05:29,430 --> 00:05:30,320
out of the small box.

