1
00:00:04,340 --> 00:00:09,950
Otherwise as usually I hope that you solve this challenge yourself and you were able to create the two

2
00:00:09,980 --> 00:00:16,940
containers radius Android as commander in the separate custom bridge network called radius and you were

3
00:00:16,940 --> 00:00:21,690
able to connect from radius commando to radius using a graphical user interface.

4
00:00:21,710 --> 00:00:27,770
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

5
00:00:27,770 --> 00:00:35,300
here new folder inside of the containers folder and that folder name will be alright is like so and

6
00:00:35,300 --> 00:00:36,050
here inside.

7
00:00:36,050 --> 00:00:39,740
Let me create in your file commands the Digg.

8
00:00:40,160 --> 00:00:46,280
Similarly as we did for previous cases when we have launched multiple containers in the same network

9
00:00:46,670 --> 00:00:57,260
and here I thought command will be them create new custom network Docker or network create and name

10
00:00:57,260 --> 00:00:59,890
on the network will be read is next.

11
00:00:59,900 --> 00:01:05,940
The lounge already is container and let me lounge it.

12
00:01:06,090 --> 00:01:14,290
In this customer right this network and I'll give it custom name already radius Docker run by X less.

13
00:01:14,300 --> 00:01:25,130
There's this name already is next that comes the network does Dish Network already is also let me around

14
00:01:25,140 --> 00:01:31,670
this container in background and the image name will be a radius and that's probably all what I need

15
00:01:31,700 --> 00:01:36,480
for is container but if I'll require samples and goals I'll edit delay down.

16
00:01:36,480 --> 00:01:36,850
Great.

17
00:01:36,870 --> 00:01:39,030
Let's next lounge.

18
00:01:39,140 --> 00:01:41,990
This commando lounge.

19
00:01:42,140 --> 00:01:51,040
This commander container and I'll launch it using the same command dock Iran backslash.

20
00:01:51,790 --> 00:01:52,880
Let's give it name.

21
00:01:52,890 --> 00:01:58,260
There's this name right is Commander like this.

22
00:01:58,260 --> 00:01:59,860
Next comes the network.

23
00:02:00,000 --> 00:02:07,530
We will create this container in the same radius network network radius backslash.

24
00:02:07,530 --> 00:02:10,539
I'll also run this container in background.

25
00:02:10,590 --> 00:02:12,990
And here will be the name of the image.

26
00:02:13,140 --> 00:02:20,870
Let me go to Google Chrome and click on this image right as commander slash or at this desk Commander

27
00:02:20,970 --> 00:02:23,100
let me copy this name from here.

28
00:02:23,130 --> 00:02:30,800
And based here I like so also let me scroll down here and the somewhere in those settings you may find

29
00:02:30,870 --> 00:02:31,870
default port.

30
00:02:31,920 --> 00:02:33,440
This 80 81.

31
00:02:33,720 --> 00:02:38,150
But of course if you need you are able to adjust to this port number.

32
00:02:38,460 --> 00:02:41,160
Let me go back to be a scold and yell.

33
00:02:41,160 --> 00:02:45,450
Let me add the port mapping DSP and external brought.

34
00:02:45,450 --> 00:02:51,930
I'll use same as internal 881 and internal we'll be 80 81 like this.

35
00:02:51,930 --> 00:02:57,340
But no let me quickly tell you a few words about why this commander actually it is available.

36
00:02:57,480 --> 00:03:04,930
As you see here as Docker image but it is also available as NPM package for Noel de Jesus because actually

37
00:03:04,930 --> 00:03:07,490
it this command commander is Are we done in Lord Jesus.

38
00:03:07,500 --> 00:03:15,280
And you may read this information here and you are able to install it to IIs or using NPM or use container.

39
00:03:15,330 --> 00:03:16,130
Here it is.

40
00:03:16,290 --> 00:03:19,140
And we are actually using it as a container.

41
00:03:19,140 --> 00:03:26,010
Let me scroll down here and let me show you which an environment variables we should use for this container.

42
00:03:26,040 --> 00:03:28,660
Here you see a set of environment variables.

43
00:03:28,680 --> 00:03:35,370
And here a set of additional environment variables like right this brought radius host and the no let's

44
00:03:35,370 --> 00:03:42,910
set only single environment variable rate as host and as a value we will specify simply a radius as

45
00:03:42,930 --> 00:03:44,850
name of the radius contain them.

46
00:03:45,230 --> 00:03:46,020
All right.

47
00:03:46,020 --> 00:03:51,720
Let me copy it right it's host environment variable here and go back to configuration of this container

48
00:03:52,020 --> 00:03:59,820
and let me add environment variable dash e right is host equal sign right is like this and it seems

49
00:03:59,820 --> 00:04:04,170
that that's all what they will need in order to start this container.

50
00:04:04,170 --> 00:04:09,510
But again I haven't done that before and if I'll miss Sampson I'll add the additional configuration

51
00:04:09,510 --> 00:04:11,520
parameter or scale I don't know.

52
00:04:11,540 --> 00:04:12,810
That's it.

53
00:04:12,850 --> 00:04:19,740
Let me save this and let me copy first comment Docker network create radius and go to timing no in order

54
00:04:19,740 --> 00:04:21,790
to start those containers.

55
00:04:21,779 --> 00:04:22,490
All right.

56
00:04:22,510 --> 00:04:26,050
Dot com network create radius network was created next.

57
00:04:26,130 --> 00:04:30,320
Let's start right this container like this.

58
00:04:30,360 --> 00:04:34,000
Let me copy this command container will start it.

59
00:04:34,080 --> 00:04:36,780
Let's go back to right is Commander.

60
00:04:37,110 --> 00:04:44,130
Let me copy this command and go back to terminal and start right as Commander Rick that we have not

61
00:04:44,190 --> 00:04:50,580
yet pulled right this commander much and that's why now Docker is pulling it all the way it was completed

62
00:04:50,670 --> 00:04:54,930
and it seems that both containers should be now up and running.

63
00:04:54,930 --> 00:05:02,470
Let me have a look at them bullcrap yes and yes there are two containers up and now I could try access.

64
00:05:02,560 --> 00:05:09,330
Right Commander graphical user interface from local computer use import eighty eight to one in web browser.

65
00:05:09,330 --> 00:05:18,360
Let me go there and here type local host 80 81 like this and I am in.

66
00:05:18,360 --> 00:05:22,560
And here you actually see connection to red etc..

67
00:05:22,620 --> 00:05:27,930
Let me make it a bit smaller like this and the less dry it to add new game.

68
00:05:27,960 --> 00:05:32,510
Click on this button add in your cue key will be let's say you do.

69
00:05:32,520 --> 00:05:43,230
And while you will be a good day like so and here let's click OK save actually and it seems that new

70
00:05:43,270 --> 00:05:43,870
you was.

71
00:05:43,880 --> 00:05:50,980
Edit Looked me you that you are able to expand this here and I'll see key to here on the list.

72
00:05:51,000 --> 00:05:58,050
Let me click on Q2 and I'll get its value here and that means that the radius commander is working and

73
00:05:58,350 --> 00:06:01,300
now it communicates correctly with radius Sarah.

74
00:06:01,590 --> 00:06:08,190
And noticed that we have not specified any authentication parameters eyes are for right etc or for radius

75
00:06:08,190 --> 00:06:08,830
commands or.

76
00:06:09,000 --> 00:06:13,860
And we have simply looked into radius commander without any user name and password.

77
00:06:13,980 --> 00:06:19,790
But for the sake of this challenge it does define and actually all what you need to do in the radius

78
00:06:19,800 --> 00:06:21,060
Commander container.

79
00:06:21,060 --> 00:06:28,480
You need to specify an environment variable gold radius host and in our case it is set to name of radius

80
00:06:28,500 --> 00:06:29,310
container.

81
00:06:29,310 --> 00:06:34,070
And look at that because those containers are running in a separate custom network.

82
00:06:34,170 --> 00:06:40,590
This name radius will be resolved by our host to IP address of this container.

83
00:06:40,590 --> 00:06:42,210
This container.

84
00:06:42,290 --> 00:06:42,990
That's all guys.

85
00:06:42,990 --> 00:06:46,560
For this challenge and now let me quickly stop those containers.

86
00:06:46,560 --> 00:06:48,330
I don't need them anymore.

87
00:06:48,500 --> 00:06:49,920
Docker stop.

88
00:06:50,090 --> 00:06:58,350
Forty seven Docker stop the F and docker container.

89
00:06:58,750 --> 00:07:01,260
Broome yes.

90
00:07:01,490 --> 00:07:02,400
All right.

91
00:07:02,440 --> 00:07:08,000
This all goes for this lesson and I'll see you next to where we will explore and I was a docker image.

92
00:07:08,170 --> 00:07:08,940
I'll see you next.

93
00:07:08,950 --> 00:07:09,480
Bye bye.

