1 00:00:01,200 --> 00:00:08,850 And was the last to be GOP decided how to install doctor on your agenda next to a machine. 2 00:00:09,600 --> 00:00:16,200 And we basically installed our we started docos service and we even started to continue. 3 00:00:17,290 --> 00:00:23,420 But if I go there and explain that exactly how old the containers got created, what happens in the 4 00:00:23,490 --> 00:00:24,060 background? 5 00:00:24,610 --> 00:00:25,140 Let's understand. 6 00:00:25,170 --> 00:00:27,870 What exactly is Dr. Eco-System made of? 7 00:00:29,070 --> 00:00:30,000 So let's understand. 8 00:00:30,080 --> 00:00:31,330 And chocolate Eco-System. 9 00:00:32,250 --> 00:00:34,770 So this Madoff, I mean, three components. 10 00:00:34,830 --> 00:00:41,340 First of all, of course, the doctor, a host doctor who says basically the machine on Vistar containers 11 00:00:41,340 --> 00:00:42,090 would be launched. 12 00:00:42,780 --> 00:00:45,690 OK, so this is where the Docker demon is running. 13 00:00:46,320 --> 00:00:52,560 And this is going to be the host of the future containers. 14 00:00:53,370 --> 00:00:58,950 Now we need to run a few commands for managing this Docker demon or Docker host. 15 00:00:59,520 --> 00:01:00,720 So we will be using some. 16 00:01:01,320 --> 00:01:06,180 In our case, it is going to be the best shell working as a doctor client. 17 00:01:06,720 --> 00:01:10,300 But this client could also be remotely suggested in the interface. 18 00:01:11,100 --> 00:01:16,530 In our case, we are going to use the same machine, the best shell as a client of Docker. 19 00:01:17,790 --> 00:01:26,400 Then basically what the applications we are going to use that images, the packages of the applications 20 00:01:26,440 --> 00:01:29,100 heart is towards something called Docker Registry. 21 00:01:29,730 --> 00:01:32,050 Are we also called Doc Active Duty? 22 00:01:32,280 --> 00:01:38,170 So this is the repository of images which is hosted remotely for us in this case. 23 00:01:38,700 --> 00:01:42,060 And the actual location is docker hub dot com. 24 00:01:42,580 --> 00:01:48,330 But having said that, in enterprise setup, you are going to have the DOCA registry within your Internet. 25 00:01:48,780 --> 00:01:56,760 So what we really did was we basically ran those docker come on from our client. 26 00:01:57,690 --> 00:02:04,170 This client goes and talks to the Docker demon, which is running on the Doctor Holst and then Dockerty. 27 00:02:04,220 --> 00:02:07,100 When does all the heavy duty to dock our demons? 28 00:02:07,200 --> 00:02:08,040 Is that. 29 00:02:08,070 --> 00:02:08,300 Okay. 30 00:02:08,310 --> 00:02:10,680 What does the application that you need to execute? 31 00:02:11,610 --> 00:02:19,290 Do they have the necessary image locally on the Docker Hospital for not if it is there then it would 32 00:02:19,290 --> 00:02:21,630 be launched as a container if it is not dead. 33 00:02:21,660 --> 00:02:27,100 And it is going to refer to some Docker registry from where it is going to download the image. 34 00:02:27,150 --> 00:02:28,650 And it is going to execute it. 35 00:02:29,190 --> 00:02:35,710 So if you see in the last video we just executed Darkthrone, hello. 36 00:02:35,780 --> 00:02:36,990 Hallowed what was. 37 00:02:38,100 --> 00:02:45,860 Lowered is basically our Docker image fee if somebody is created and we just want to execute that handiwork 38 00:02:46,440 --> 00:02:47,220 as a container. 39 00:02:47,880 --> 00:02:52,650 So Docker and Halloway, basically, it prints all of this. 40 00:02:53,190 --> 00:02:56,400 And if you read this, it is meant for educational purposes. 41 00:02:56,460 --> 00:03:02,820 It's a very simple container, which is just doing the printing of this set of text. 42 00:03:03,600 --> 00:03:10,340 So if you see here when you do document hello work the client connected to Dr. Dean when the Docker 43 00:03:10,340 --> 00:03:16,230 demon started searching for the image locally when it didn't find it. 44 00:03:17,040 --> 00:03:19,560 It went to the library of Docker. 45 00:03:19,590 --> 00:03:22,860 The default library is dead on Docker Hub dot com. 46 00:03:23,430 --> 00:03:29,820 And from there it find the image had a word and it pulled the image on this particular machine. 47 00:03:30,230 --> 00:03:33,240 Docker host and then it executed it. 48 00:03:33,720 --> 00:03:34,340 So hello. 49 00:03:34,900 --> 00:03:38,360 When it executed that this text Gartland. 50 00:03:38,530 --> 00:03:40,510 This is what the container is basically doing. 51 00:03:41,250 --> 00:03:51,510 And you can see that Dr. B is highly funny, shows that a container has been executed. 52 00:03:52,020 --> 00:03:53,570 And won't this come on some doctor? 53 00:03:53,700 --> 00:03:54,750 I'll come back to that. 54 00:03:54,990 --> 00:04:01,330 But just for now, Dr. Pierce, minus eight tells you the history of the container Aaron. 55 00:04:01,980 --> 00:04:04,230 So here one condition has been executed. 56 00:04:05,580 --> 00:04:07,980 The name of the container, blissful, blissful care. 57 00:04:08,070 --> 00:04:09,690 And the container idea is this. 58 00:04:10,170 --> 00:04:14,450 So if you see it this Chad again, what happened? 59 00:04:14,460 --> 00:04:21,330 We did Dr. Unhallowed this contacted the Dockerty Mundaring on the doctor who asked the doctor was did 60 00:04:21,330 --> 00:04:22,870 not had the Dimmeys locally. 61 00:04:23,370 --> 00:04:27,080 So it went to Dr. Hub dot com, which was a default registry. 62 00:04:27,840 --> 00:04:32,280 It downloaded the image and then it executed that as a container. 63 00:04:32,370 --> 00:04:37,880 So basically, now you can visualize the images and contain it. 64 00:04:37,950 --> 00:04:43,040 And the difference between them more clearly, because now you can see that images are nothing but a 65 00:04:43,040 --> 00:04:48,870 set of files and the containers are equal and two processes, containers. 66 00:04:48,900 --> 00:04:55,710 You can say that they are very special processes that basically isolate any process that is an inside 67 00:04:55,710 --> 00:04:55,800 it. 68 00:04:56,820 --> 00:04:57,120 Okay. 69 00:04:58,260 --> 00:04:59,780 To begin with the. 70 00:04:59,930 --> 00:05:06,530 We executed that he lowered container, which was printing this statement, it printed and then it exited. 71 00:05:07,370 --> 00:05:07,540 OK. 72 00:05:08,120 --> 00:05:11,960 For a better container and for going deep down into it. 73 00:05:12,420 --> 00:05:15,910 We are going to launch some containers like open to and toys. 74 00:05:15,920 --> 00:05:19,800 You can launch any other kind of orders as a container order. 75 00:05:19,850 --> 00:05:21,920 You can run an application as a container. 76 00:05:22,310 --> 00:05:24,950 We'll talk about that in more detail in the next video. 77 00:05:25,760 --> 00:05:26,660 Thank you for watching. 78 00:05:26,840 --> 00:05:27,470 See you in the next. 79 00:05:27,470 --> 00:05:27,770 We do.