1 00:00:00,840 --> 00:00:06,750 Hello, everyone, and Distomo, I'm going to show you how to to start and contain the images under 2 00:00:07,230 --> 00:00:14,730 the surface, they are two methods to alter starting container images under the surface. 3 00:00:16,200 --> 00:00:22,020 Before I'm going to explain the first method, as we can see here on the screen I'm using Tmax is a 4 00:00:22,020 --> 00:00:23,590 terminal multiplexed, sir. 5 00:00:24,180 --> 00:00:31,710 So what they did on the left side is a switch to user one here on both of those users. 6 00:00:31,710 --> 00:00:36,420 And you can see here, I think we have user to both of those user are in the same server. 7 00:00:36,420 --> 00:00:42,210 But what they did in the left side, this is the user one and on the right side, associate to user 8 00:00:42,210 --> 00:00:44,100 to get. 9 00:00:44,670 --> 00:00:48,420 So let's start now start sort the first method. 10 00:00:48,420 --> 00:00:51,270 I'm going to apply it to a user one and the second method. 11 00:00:51,270 --> 00:00:53,340 I'm going to apply it to our user, too. 12 00:00:56,580 --> 00:01:04,110 So the first method here before I'm going to run a container, I need to put into consideration that 13 00:01:04,110 --> 00:01:05,890 is Linux running with the system. 14 00:01:06,690 --> 00:01:12,480 So in this case, what I need to do, I need to activate the container managed C group POULIOT in order 15 00:01:12,480 --> 00:01:13,980 to run the containers. 16 00:01:14,880 --> 00:01:16,710 Which system do so? 17 00:01:16,800 --> 00:01:25,980 I'm going to how I get to know the value to get a spool dash ID and grep container to enter. 18 00:01:25,980 --> 00:01:28,020 As we can see here, it's off. 19 00:01:28,530 --> 00:01:30,900 So I need to use the sudo here. 20 00:01:30,910 --> 00:01:33,720 So set a spool then. 21 00:01:33,720 --> 00:01:38,070 About Kaspi advocates have to be uppercase in order to change the value. 22 00:01:38,070 --> 00:01:51,210 So container Manesh C Group then on the bus route and I'm going to run the command again to get a spool 23 00:01:51,210 --> 00:01:54,480 just to make sure that the values aren't perfect. 24 00:01:54,840 --> 00:01:59,550 Right now I'm going to run a container image GTP so Bruckmann 25 00:02:04,710 --> 00:02:12,930 padman run dashboard so I'm going to run this container in the background and also I'm going to give 26 00:02:12,930 --> 00:02:14,010 this container a name. 27 00:02:14,010 --> 00:02:21,330 So pitch ttp d then dush user one is there. 28 00:02:21,360 --> 00:02:27,720 So we're going to use it under the user one then he the second option. 29 00:02:28,170 --> 00:02:28,680 It's up to you. 30 00:02:28,680 --> 00:02:29,630 If you want to do it do it. 31 00:02:29,640 --> 00:02:35,580 So I'm going to give a person number four seven thousand seven thousand from the local machine to the 32 00:02:35,580 --> 00:02:42,210 container and container htp deep hitcher. 33 00:02:45,480 --> 00:02:52,050 Then I'm going to run the command port maps to make sure that the container is running in the background. 34 00:02:57,830 --> 00:03:00,890 Put man peace, as we can see over here. 35 00:03:01,850 --> 00:03:10,010 So the container is running and in the name of the container is each TPD, the user one. 36 00:03:11,030 --> 00:03:14,950 So next, I need to create a directory. 37 00:03:15,800 --> 00:03:19,730 Just make sure that you need to create a directory under the slash home slash user want. 38 00:03:20,330 --> 00:03:23,560 So make a directory dashboard. 39 00:03:23,930 --> 00:03:35,650 So this is the directory that I have to make config then slash sys system D slash user tenter. 40 00:03:36,160 --> 00:03:46,820 I go inside this directory system, the user, the P W.D. So make sure you have to generate the file, 41 00:03:46,820 --> 00:03:52,830 the system D volume you have to generate here under this directory. 42 00:03:53,510 --> 00:03:55,230 So what you're going to do right now. 43 00:03:56,300 --> 00:04:05,300 Uh, so I'm going to run the command post man generate System D and Dash Dash. 44 00:04:05,990 --> 00:04:08,960 So what's the name we call that image. 45 00:04:08,960 --> 00:04:15,920 HTTP D dash user one then dash dash firebase. 46 00:04:16,430 --> 00:04:19,430 So we're going to generate a system of defined configuration file. 47 00:04:20,570 --> 00:04:27,830 Alice, and also we need to run the command system, the system C two, dash, dash, user demand, 48 00:04:28,220 --> 00:04:28,790 reload. 49 00:04:28,800 --> 00:04:30,110 So to reload the surface, 50 00:04:33,660 --> 00:04:34,980 that is perfect. 51 00:04:35,030 --> 00:04:37,310 Right now we have this configuration file. 52 00:04:38,390 --> 00:04:41,350 Next, we need to modify this configuration file. 53 00:04:41,360 --> 00:04:44,480 We just need to modify one value here. 54 00:04:44,490 --> 00:04:47,950 So wanted pie under the section in a store. 55 00:04:49,010 --> 00:04:54,050 So we have to delete this one here, the multi user and change it to default. 56 00:04:55,220 --> 00:04:57,920 Skip before the target. 57 00:04:58,340 --> 00:04:59,240 Save the file. 58 00:04:59,870 --> 00:05:00,500 Perfect. 59 00:05:01,370 --> 00:05:04,120 Now what you need to do, you need to enable the surface. 60 00:05:04,700 --> 00:05:07,640 So system Sitel. 61 00:05:09,230 --> 00:05:19,320 Dash, dash, dash that she used to enable container dash, htp, dash user one, that surface hitting 62 00:05:19,400 --> 00:05:20,870 her perfect. 63 00:05:20,900 --> 00:05:21,710 We generated 64 00:05:24,830 --> 00:05:32,810 what the system, the surface five configuration file so well in this I'm not going to report. 65 00:05:32,810 --> 00:05:40,100 So just just for you, if you want to double check that the container will run even after we reboot. 66 00:05:40,100 --> 00:05:42,130 So you got to reboot the system. 67 00:05:42,150 --> 00:05:47,420 Then after that, after you reboot, you log into the system again, then you need to run the command 68 00:05:47,450 --> 00:05:47,930 system. 69 00:05:47,930 --> 00:05:50,780 Sitel, dash, dash user status. 70 00:05:50,780 --> 00:05:52,130 You check the status of. 71 00:05:54,970 --> 00:05:57,040 The surface container. 72 00:05:58,030 --> 00:06:05,170 Right now, it's not activated, but after we're going to reboot and then you return, you run this 73 00:06:05,320 --> 00:06:10,660 command again, you will notice that the surface is running perfect. 74 00:06:10,690 --> 00:06:12,100 Now, this is the first method. 75 00:06:13,060 --> 00:06:15,280 Now let's move on to the second method. 76 00:06:15,910 --> 00:06:18,250 So before I'm going to. 77 00:06:20,870 --> 00:06:28,790 Before I'm going to explain the second method, I need to turn off the AC Lennox, that is why I need 78 00:06:28,790 --> 00:06:31,840 to like not to turn it off, but I need to change the value. 79 00:06:31,880 --> 00:06:40,220 So here is the value that I'm talking about, a spool that's to get a grip container, because in the 80 00:06:40,220 --> 00:06:41,630 second method, it needs it. 81 00:06:42,110 --> 00:06:43,940 So I need to turn it off. 82 00:06:44,510 --> 00:06:50,580 So what I'm going to do so is to do so. 83 00:06:50,600 --> 00:07:04,280 Do it, pull over Kaspi the container, manage Seagrove of the buzzword and then after that I'm going 84 00:07:04,280 --> 00:07:12,600 to double check that the values of perfectness, of care of the screen. 85 00:07:13,010 --> 00:07:15,470 Now I'm going to explain the second method. 86 00:07:16,780 --> 00:07:26,200 So when the second method I need to organize in a route user first and it has to be this is now clear 87 00:07:26,740 --> 00:07:28,720 and it has to be from a different. 88 00:07:31,950 --> 00:07:35,820 Well, a root password, so even if you're going to do it here under the username, but you're going 89 00:07:35,820 --> 00:07:40,740 to look at it as a root user, then after that you can do that. 90 00:07:41,310 --> 00:07:44,090 You can use the log in Ctrl. 91 00:07:45,360 --> 00:07:49,230 So this is the log and why we need to use the log login. 92 00:07:49,340 --> 00:07:50,940 Still enable linger. 93 00:07:51,480 --> 00:07:52,180 This one here. 94 00:07:52,740 --> 00:07:59,550 So we need to use that one or discriminant in order to enable us to start services for a particular 95 00:07:59,550 --> 00:08:00,030 user. 96 00:08:00,880 --> 00:08:07,490 So, as I said that we to enable the surface for users to know for sure. 97 00:08:07,900 --> 00:08:12,370 User Mary, as we can see, the lingers on. 98 00:08:13,720 --> 00:08:18,310 But in case if it's not on, let's do it here. 99 00:08:18,490 --> 00:08:23,200 You step here, linger still if it's visible, linger. 100 00:08:23,200 --> 00:08:29,590 So we'll do it for user mail just in case that it's not on. 101 00:08:30,640 --> 00:08:33,250 So we disable it, but we need to enable it again. 102 00:08:48,380 --> 00:08:48,930 To enable. 103 00:08:48,980 --> 00:08:53,900 Just to make sure that if in case, like if you're going to run that command and if it's not. 104 00:08:55,410 --> 00:08:55,750 Sure. 105 00:08:55,860 --> 00:09:01,620 Here again, if they linger, it's off or it's not here, you need to enable a. 106 00:09:01,890 --> 00:09:02,910 How are you going to enable it? 107 00:09:02,940 --> 00:09:09,870 So you need to run the command log and still then after that, enable. 108 00:09:11,150 --> 00:09:17,360 Dash lingered in the name of the user, so user to. 109 00:09:19,300 --> 00:09:26,980 You enable that, then after that, you want to double check users to and as you can see for here, 110 00:09:27,220 --> 00:09:29,900 it's the Lingga is yes, perfect. 111 00:09:29,920 --> 00:09:34,700 Right now we finish this step and we did it under the producer. 112 00:09:35,260 --> 00:09:45,070 Now we're going to switch to user to right now and user two, we're going to do the same steps as the 113 00:09:45,070 --> 00:09:46,480 only difference, what we did here. 114 00:09:46,600 --> 00:09:54,550 We use the log and still enable longer in order to enable the longer for user to. 115 00:09:56,250 --> 00:10:04,650 Well, we do that because we want to enable and start surfaces for a particular user, and he can do 116 00:10:04,650 --> 00:10:06,960 that through this comment. 117 00:10:07,950 --> 00:10:10,550 Okay, let's move on to this command right now. 118 00:10:10,560 --> 00:10:13,320 So I'm going to pull an image. 119 00:10:14,750 --> 00:10:19,800 Right now, so put mad dash own, dash the. 120 00:10:21,570 --> 00:10:33,780 Then going to call this image H.T., TPD, user to user to and image TGP, so we're going to run this 121 00:10:33,780 --> 00:10:35,330 image in the background. 122 00:10:36,810 --> 00:10:42,000 And after we going to run this image in the background, we're going to do the same thing, we're going 123 00:10:42,000 --> 00:10:43,380 to create a directory. 124 00:10:44,370 --> 00:10:53,110 And add the slash and slash user, too, and this directly would be that cornflake slash EMT slash user. 125 00:10:53,760 --> 00:10:57,090 So just after we do the before we do that. 126 00:10:57,100 --> 00:11:05,410 So yes, I want to check put maps and we have right now is the container is running in the background. 127 00:11:05,460 --> 00:11:05,940 Perfect. 128 00:11:06,420 --> 00:11:08,720 So we are under this directory. 129 00:11:09,450 --> 00:11:16,020 So now we can have to make another directory and make that actually HP can't fake. 130 00:11:20,410 --> 00:11:24,100 System D user. 131 00:11:26,880 --> 00:11:39,380 June and I go inside this directress system, uh, user, PWP, uh, slash slash user to slash dot com 132 00:11:39,710 --> 00:11:41,840 slash EMT slash user. 133 00:11:42,980 --> 00:11:48,140 Now, what we need to do, we need to generate a system, the configuration file. 134 00:11:48,620 --> 00:11:54,080 So generate System D, dash, dash. 135 00:11:54,510 --> 00:12:03,200 You you know, the name that we call the the container user to dash dash files. 136 00:12:05,370 --> 00:12:06,510 Container name. 137 00:12:09,720 --> 00:12:12,410 Yes, double check, we're going to double check here. 138 00:12:13,980 --> 00:12:19,680 But, man, he is OK, this is Joe. 139 00:12:21,720 --> 00:12:25,650 Container computer generated. 140 00:12:27,150 --> 00:12:35,610 See if we have the file here, we don't have a man, jeanneret systemd dash dash. 141 00:12:37,460 --> 00:12:38,060 Name. 142 00:12:40,500 --> 00:12:43,230 Yeah, that's that's phials. 143 00:12:44,490 --> 00:12:46,110 Perfect generated the fire. 144 00:12:48,240 --> 00:12:55,710 This is the configuration file right now, so I'm going to use the system DC to dash dash user, then 145 00:12:56,490 --> 00:13:01,080 demand that we load it into the next step. 146 00:13:01,080 --> 00:13:03,180 We need to change this line. 147 00:13:03,420 --> 00:13:07,950 And there's a section installed so the installed in one gets by. 148 00:13:07,960 --> 00:13:10,500 So we need to change this file to default. 149 00:13:15,410 --> 00:13:20,600 Save the fire just to make sure you're wanted by equality for that target. 150 00:13:21,260 --> 00:13:21,890 Perfect. 151 00:13:23,360 --> 00:13:31,910 Now, what you need to do, system, dash, dash system that enabled me to enable the surface to contain. 152 00:13:32,780 --> 00:13:35,070 And we generated the fire. 153 00:13:35,070 --> 00:13:35,210 Right. 154 00:13:35,360 --> 00:13:37,240 That is, as we can see over here. 155 00:13:37,640 --> 00:13:44,390 Now, if I was rated like a subway looking for it and as I mentioned, just to make sure and double 156 00:13:44,390 --> 00:13:45,890 check, you need to report. 157 00:13:46,580 --> 00:13:52,250 So after reboot the system and again, again, then you need to run this command system. 158 00:13:52,520 --> 00:14:05,300 Sitel dash dash user statis container dash htp dash user to that surface hit enter. 159 00:14:05,330 --> 00:14:13,400 I know not it's dead right now but just to make sure that the surface is running and it will be running 160 00:14:13,430 --> 00:14:15,100 if you followed all the steps. 161 00:14:15,500 --> 00:14:18,880 So I mean this demo I showed you two methods. 162 00:14:19,070 --> 00:14:26,690 So the first one we used up, we had to change the the, the podium value for the is Linux. 163 00:14:27,080 --> 00:14:34,940 And the second method we use the log and still enable linger command in order to enable it to start 164 00:14:34,940 --> 00:14:38,180 services for a particular user. 165 00:14:39,740 --> 00:14:41,120 Thus come to a decision. 166 00:14:41,360 --> 00:14:42,440 Thank you very much.