Hello, everyone, and Distomo, I'm going to show you how to to start and contain the images under
the surface, they are two methods to alter starting container images under the surface.
Before I'm going to explain the first method, as we can see here on the screen I'm using Tmax is a
terminal multiplexed, sir.
So what they did on the left side is a switch to user one here on both of those users.
And you can see here, I think we have user to both of those user are in the same server.
But what they did in the left side, this is the user one and on the right side, associate to user
to get.
So let's start now start sort the first method.
I'm going to apply it to a user one and the second method.
I'm going to apply it to our user, too.
So the first method here before I'm going to run a container, I need to put into consideration that
is Linux running with the system.
So in this case, what I need to do, I need to activate the container managed C group POULIOT in order
to run the containers.
Which system do so?
I'm going to how I get to know the value to get a spool dash ID and grep container to enter.
As we can see here, it's off.
So I need to use the sudo here.
So set a spool then.
About Kaspi advocates have to be uppercase in order to change the value.
So container Manesh C Group then on the bus route and I'm going to run the command again to get a spool
just to make sure that the values aren't perfect.
Right now I'm going to run a container image GTP so Bruckmann
padman run dashboard so I'm going to run this container in the background and also I'm going to give
this container a name.
So pitch ttp d then dush user one is there.
So we're going to use it under the user one then he the second option.
It's up to you.
If you want to do it do it.
So I'm going to give a person number four seven thousand seven thousand from the local machine to the
container and container htp deep hitcher.
Then I'm going to run the command port maps to make sure that the container is running in the background.
Put man peace, as we can see over here.
So the container is running and in the name of the container is each TPD, the user one.
So next, I need to create a directory.
Just make sure that you need to create a directory under the slash home slash user want.
So make a directory dashboard.
So this is the directory that I have to make config then slash sys system D slash user tenter.
I go inside this directory system, the user, the P W.D. So make sure you have to generate the file,
the system D volume you have to generate here under this directory.
So what you're going to do right now.
Uh, so I'm going to run the command post man generate System D and Dash Dash.
So what's the name we call that image.
HTTP D dash user one then dash dash firebase.
So we're going to generate a system of defined configuration file.
Alice, and also we need to run the command system, the system C two, dash, dash, user demand,
reload.
So to reload the surface,
that is perfect.
Right now we have this configuration file.
Next, we need to modify this configuration file.
We just need to modify one value here.
So wanted pie under the section in a store.
So we have to delete this one here, the multi user and change it to default.
Skip before the target.
Save the file.
Perfect.
Now what you need to do, you need to enable the surface.
So system Sitel.
Dash, dash, dash that she used to enable container dash, htp, dash user one, that surface hitting
her perfect.
We generated
what the system, the surface five configuration file so well in this I'm not going to report.
So just just for you, if you want to double check that the container will run even after we reboot.
So you got to reboot the system.
Then after that, after you reboot, you log into the system again, then you need to run the command
system.
Sitel, dash, dash user status.
You check the status of.
The surface container.
Right now, it's not activated, but after we're going to reboot and then you return, you run this
command again, you will notice that the surface is running perfect.
Now, this is the first method.
Now let's move on to the second method.
So before I'm going to.
Before I'm going to explain the second method, I need to turn off the AC Lennox, that is why I need
to like not to turn it off, but I need to change the value.
So here is the value that I'm talking about, a spool that's to get a grip container, because in the
second method, it needs it.
So I need to turn it off.
So what I'm going to do so is to do so.
Do it, pull over Kaspi the container, manage Seagrove of the buzzword and then after that I'm going
to double check that the values of perfectness, of care of the screen.
Now I'm going to explain the second method.
So when the second method I need to organize in a route user first and it has to be this is now clear
and it has to be from a different.
Well, a root password, so even if you're going to do it here under the username, but you're going
to look at it as a root user, then after that you can do that.
You can use the log in Ctrl.
So this is the log and why we need to use the log login.
Still enable linger.
This one here.
So we need to use that one or discriminant in order to enable us to start services for a particular
user.
So, as I said that we to enable the surface for users to know for sure.
User Mary, as we can see, the lingers on.
But in case if it's not on, let's do it here.
You step here, linger still if it's visible, linger.
So we'll do it for user mail just in case that it's not on.
So we disable it, but we need to enable it again.
To enable.
Just to make sure that if in case, like if you're going to run that command and if it's not.
Sure.
Here again, if they linger, it's off or it's not here, you need to enable a.
How are you going to enable it?
So you need to run the command log and still then after that, enable.
Dash lingered in the name of the user, so user to.
You enable that, then after that, you want to double check users to and as you can see for here,
it's the Lingga is yes, perfect.
Right now we finish this step and we did it under the producer.
Now we're going to switch to user to right now and user two, we're going to do the same steps as the
only difference, what we did here.
We use the log and still enable longer in order to enable the longer for user to.
Well, we do that because we want to enable and start surfaces for a particular user, and he can do
that through this comment.
Okay, let's move on to this command right now.
So I'm going to pull an image.
Right now, so put mad dash own, dash the.
Then going to call this image H.T., TPD, user to user to and image TGP, so we're going to run this
image in the background.
And after we going to run this image in the background, we're going to do the same thing, we're going
to create a directory.
And add the slash and slash user, too, and this directly would be that cornflake slash EMT slash user.
So just after we do the before we do that.
So yes, I want to check put maps and we have right now is the container is running in the background.
Perfect.
So we are under this directory.
So now we can have to make another directory and make that actually HP can't fake.
System D user.
June and I go inside this directress system, uh, user, PWP, uh, slash slash user to slash dot com
slash EMT slash user.
Now, what we need to do, we need to generate a system, the configuration file.
So generate System D, dash, dash.
You you know, the name that we call the the container user to dash dash files.
Container name.
Yes, double check, we're going to double check here.
But, man, he is OK, this is Joe.
Container computer generated.
See if we have the file here, we don't have a man, jeanneret systemd dash dash.
Name.
Yeah, that's that's phials.
Perfect generated the fire.
This is the configuration file right now, so I'm going to use the system DC to dash dash user, then
demand that we load it into the next step.
We need to change this line.
And there's a section installed so the installed in one gets by.
So we need to change this file to default.
Save the fire just to make sure you're wanted by equality for that target.
Perfect.
Now, what you need to do, system, dash, dash system that enabled me to enable the surface to contain.
And we generated the fire.
Right.
That is, as we can see over here.
Now, if I was rated like a subway looking for it and as I mentioned, just to make sure and double
check, you need to report.
So after reboot the system and again, again, then you need to run this command system.
Sitel dash dash user statis container dash htp dash user to that surface hit enter.
I know not it's dead right now but just to make sure that the surface is running and it will be running
if you followed all the steps.
So I mean this demo I showed you two methods.
So the first one we used up, we had to change the the, the podium value for the is Linux.
And the second method we use the log and still enable linger command in order to enable it to start
services for a particular user.
Thus come to a decision.
Thank you very much.