Otherwise as usually I hope that you solve this challenge yourself and you were able to create the two
containers radius Android as commander in the separate custom bridge network called radius and you were
able to connect from radius commando to radius using a graphical user interface.
Now let me do that two guys always you and the first of all let me go to be a scold and let me create
here new folder inside of the containers folder and that folder name will be alright is like so and
here inside.
Let me create in your file commands the Digg.
Similarly as we did for previous cases when we have launched multiple containers in the same network
and here I thought command will be them create new custom network Docker or network create and name
on the network will be read is next.
The lounge already is container and let me lounge it.
In this customer right this network and I'll give it custom name already radius Docker run by X less.
There's this name already is next that comes the network does Dish Network already is also let me around
this container in background and the image name will be a radius and that's probably all what I need
for is container but if I'll require samples and goals I'll edit delay down.
Great.
Let's next lounge.
This commando lounge.
This commander container and I'll launch it using the same command dock Iran backslash.
Let's give it name.
There's this name right is Commander like this.
Next comes the network.
We will create this container in the same radius network network radius backslash.
I'll also run this container in background.
And here will be the name of the image.
Let me go to Google Chrome and click on this image right as commander slash or at this desk Commander
let me copy this name from here.
And based here I like so also let me scroll down here and the somewhere in those settings you may find
default port.
This 80 81.
But of course if you need you are able to adjust to this port number.
Let me go back to be a scold and yell.
Let me add the port mapping DSP and external brought.
I'll use same as internal 881 and internal we'll be 80 81 like this.
But no let me quickly tell you a few words about why this commander actually it is available.
As you see here as Docker image but it is also available as NPM package for Noel de Jesus because actually
it this command commander is Are we done in Lord Jesus.
And you may read this information here and you are able to install it to IIs or using NPM or use container.
Here it is.
And we are actually using it as a container.
Let me scroll down here and let me show you which an environment variables we should use for this container.
Here you see a set of environment variables.
And here a set of additional environment variables like right this brought radius host and the no let's
set only single environment variable rate as host and as a value we will specify simply a radius as
name of the radius contain them.
All right.
Let me copy it right it's host environment variable here and go back to configuration of this container
and let me add environment variable dash e right is host equal sign right is like this and it seems
that that's all what they will need in order to start this container.
But again I haven't done that before and if I'll miss Sampson I'll add the additional configuration
parameter or scale I don't know.
That's it.
Let me save this and let me copy first comment Docker network create radius and go to timing no in order
to start those containers.
All right.
Dot com network create radius network was created next.
Let's start right this container like this.
Let me copy this command container will start it.
Let's go back to right is Commander.
Let me copy this command and go back to terminal and start right as Commander Rick that we have not
yet pulled right this commander much and that's why now Docker is pulling it all the way it was completed
and it seems that both containers should be now up and running.
Let me have a look at them bullcrap yes and yes there are two containers up and now I could try access.
Right Commander graphical user interface from local computer use import eighty eight to one in web browser.
Let me go there and here type local host 80 81 like this and I am in.
And here you actually see connection to red etc..
Let me make it a bit smaller like this and the less dry it to add new game.
Click on this button add in your cue key will be let's say you do.
And while you will be a good day like so and here let's click OK save actually and it seems that new
you was.
Edit Looked me you that you are able to expand this here and I'll see key to here on the list.
Let me click on Q2 and I'll get its value here and that means that the radius commander is working and
now it communicates correctly with radius Sarah.
And noticed that we have not specified any authentication parameters eyes are for right etc or for radius
commands or.
And we have simply looked into radius commander without any user name and password.
But for the sake of this challenge it does define and actually all what you need to do in the radius
Commander container.
You need to specify an environment variable gold radius host and in our case it is set to name of radius
container.
And look at that because those containers are running in a separate custom network.
This name radius will be resolved by our host to IP address of this container.
This container.
That's all guys.
For this challenge and now let me quickly stop those containers.
I don't need them anymore.
Docker stop.
Forty seven Docker stop the F and docker container.
Broome yes.
All right.
This all goes for this lesson and I'll see you next to where we will explore and I was a docker image.
I'll see you next.
Bye bye.