1
00:00:04,260 --> 00:00:08,160
OK guys I really hope that you were able to complete this challenge yourself.

2
00:00:08,189 --> 00:00:13,350
And now you have into a setup with Wordpress Maya scale and BHP my.

3
00:00:13,800 --> 00:00:17,470
But no let me demonstrate you how I will do that from beginning to end.

4
00:00:17,650 --> 00:00:23,520
And let me start from a cleaning up of existing setup because now we have to two those running.

5
00:00:23,520 --> 00:00:24,410
Here they are.

6
00:00:24,940 --> 00:00:27,720
P.S. My scale and BHP my admin.

7
00:00:27,810 --> 00:00:31,520
Let me stop them and afterwards remove Docker.

8
00:00:31,770 --> 00:00:32,780
Stop.

9
00:00:32,790 --> 00:00:39,140
3 4 Docker R M 3 4 and doctor stop.

10
00:00:39,150 --> 00:00:40,100
4 3.

11
00:00:40,170 --> 00:00:42,530
The second container Maya scale.

12
00:00:42,850 --> 00:00:47,510
Doc R M for 3 and container was removed.

13
00:00:47,540 --> 00:00:48,390
Wonderful.

14
00:00:48,390 --> 00:00:49,700
Now I am all set.

15
00:00:49,700 --> 00:00:56,760
And let me force the goal to be a scold and the create new folder here and folder name will be them

16
00:00:56,980 --> 00:00:58,950
world press.

17
00:00:59,150 --> 00:01:02,090
And here inside of this folder I'll read your file.

18
00:01:02,090 --> 00:01:08,120
Same as they did in my school folder and it will be a Commands Look the extreme commands the extreme

19
00:01:08,550 --> 00:01:12,990
and no let me go to this previous commands of text file and copy.

20
00:01:13,040 --> 00:01:18,160
Those two last commands like so actually included.

21
00:01:18,150 --> 00:01:24,890
Could this create custom bridge network but go to these commands to text file based cockpit commands

22
00:01:24,890 --> 00:01:25,910
like so.

23
00:01:26,010 --> 00:01:29,320
No let me hide this left brain and actually look at.

24
00:01:29,360 --> 00:01:36,740
Now save this file and I'll just add a bit later I'll also add additional command that will start additional

25
00:01:36,830 --> 00:01:38,750
container drill bit walk press container.

26
00:01:39,140 --> 00:01:45,380
But first let me show you how we're able to pull specific images using specific text.

27
00:01:45,560 --> 00:01:52,800
Let me actually go to Google Chrome thrust and here let me go to my Skrill contain them.

28
00:01:52,880 --> 00:01:55,680
My Eskil here.

29
00:01:55,690 --> 00:01:57,670
Click on the thrust link my Eskil

30
00:02:00,270 --> 00:02:06,480
and you'll see all the viruses that you are able to download basically here in the troll section.

31
00:02:06,600 --> 00:02:14,360
Here it is and you may notice that the latest tech is assigned to on 8 and basically this latest tech

32
00:02:14,370 --> 00:02:20,880
may be assigned to different versions of specific image and usually it is assigned to latest stable

33
00:02:20,880 --> 00:02:21,630
operation.

34
00:02:21,750 --> 00:02:28,890
But in this challenge I have asked you to use specific commercials of Maya scale and WordPress and the

35
00:02:28,890 --> 00:02:36,690
reason why I asked you to do so is that at the moment latest version of WordPress does not work correctly

36
00:02:36,690 --> 00:02:43,320
initially with latest version of Maya scale because in latest the model of Maya skill enumeration 8

37
00:02:43,680 --> 00:02:49,470
there was a change in password authentication and that there was actually a workaround for that but

38
00:02:49,470 --> 00:02:52,830
I don't want to ask you to use those workarounds at the moment.

39
00:02:52,860 --> 00:03:00,540
That's why I ask you to use this specific version of Maya scale and WordPress images and we will use

40
00:03:00,600 --> 00:03:02,020
specific words on this one.

41
00:03:02,030 --> 00:03:07,800
Five dollars 7 for Maya scale and five dot forum for wordpress.

42
00:03:07,800 --> 00:03:09,670
Let me copy this Yarnell.

43
00:03:09,720 --> 00:03:12,260
Open up your tap and the start of Maya scale.

44
00:03:12,270 --> 00:03:14,490
I want to have a look at WordPress.

45
00:03:14,520 --> 00:03:14,910
Image

46
00:03:17,950 --> 00:03:25,600
and here if I scroll down you'll see that the latest tech is currently assigned to where it is.

47
00:03:25,600 --> 00:03:27,700
I don't see actually let me find it out.

48
00:03:27,700 --> 00:03:30,410
Latest here it is.

49
00:03:30,410 --> 00:03:32,190
It is assigned to version 5.

50
00:03:32,190 --> 00:03:38,240
Not for that I actually asked you to use because when you might see the scrolls.

51
00:03:38,320 --> 00:03:43,520
This latest tech may be reassigned to newer version of WordPress.

52
00:03:43,630 --> 00:03:46,730
That's why in order to make things work for sure.

53
00:03:46,840 --> 00:03:53,380
I have asked you to use a version of firewood for or for wordpress container and the version 5 7 for

54
00:03:53,440 --> 00:03:58,390
Maya scale and less no bull doors of origins from Docker Hub.

55
00:03:58,510 --> 00:04:04,540
And if you want to pool specific you match using specific tech or what you need to do is to add the

56
00:04:04,540 --> 00:04:11,470
column and after column specify that you want to pull in which with let's use Docker pool command and

57
00:04:11,470 --> 00:04:18,730
here will be the name of the in which my Eskil next column and after column comes virus an attack for

58
00:04:18,790 --> 00:04:19,860
this Pacific image.

59
00:04:19,899 --> 00:04:24,730
I want to download from Docker Hub and VeriSign will be five dot seven.

60
00:04:25,200 --> 00:04:26,920
Let's press enter.

61
00:04:27,010 --> 00:04:33,380
Notice that the Maya scale latest the marathon is already in my local cache but this marathon filed

62
00:04:33,420 --> 00:04:34,990
7 is absent.

63
00:04:34,990 --> 00:04:41,020
That's why now we are downloading it from Docker Hub and noticed that some file system layers are already

64
00:04:41,020 --> 00:04:50,020
present in local cache let's wait to beat great pool complete and now I have my Skrill column filed

65
00:04:50,030 --> 00:04:58,020
on seven abortion on the least wealth where you find it Docker images and yes now I see two versions

66
00:04:58,080 --> 00:05:02,340
of my skill image latest and five year old seven.

67
00:05:02,520 --> 00:05:04,930
Now in the same way let's do both.

68
00:05:04,940 --> 00:05:13,050
Press 5 but for Verisign and basically in my case this evolution is the same as latest and let's see

69
00:05:13,110 --> 00:05:21,150
what will happen if I'll try to pull Verizon with Dec 5 but for what McLean terminal Docker Apple WordPress

70
00:05:22,420 --> 00:05:25,750
column 5 for tender.

71
00:05:27,260 --> 00:05:29,600
Blink and you'll see message.

72
00:05:29,610 --> 00:05:33,710
Download new or image for wordpress five dot four.

73
00:05:33,770 --> 00:05:37,550
And basically I don't see any fast laid out information here.

74
00:05:37,550 --> 00:05:43,310
And that means that we will simply reuse VeriSign that is already present on this computer.

75
00:05:43,670 --> 00:05:52,020
Let's have a look at Docker images and now I see two models of WordPress latest and operation five dot

76
00:05:52,050 --> 00:05:52,680
from.

77
00:05:52,680 --> 00:05:59,640
And again in my case I see that the image ideas are exactly the same for both images and size is also

78
00:05:59,640 --> 00:06:01,910
the same because those images are the same.

79
00:06:02,040 --> 00:06:02,770
Wonderful.

80
00:06:02,760 --> 00:06:09,150
Now I'm able to use those images and now it's a good time to move back to our configuration here and

81
00:06:09,180 --> 00:06:13,120
create three different containers in New WordPress network.

82
00:06:13,150 --> 00:06:13,500
Let's.

83
00:06:13,570 --> 00:06:18,230
A Justice comment Docker network create here will be a wordpress network.

84
00:06:18,490 --> 00:06:20,460
It will be your custom network.

85
00:06:20,460 --> 00:06:29,280
Next day let's use this network name here in this container and then discontinue and also lists below.

86
00:06:29,280 --> 00:06:33,170
Actually let me create WordPress container here.

87
00:06:33,360 --> 00:06:40,290
Start Wordpress and here on the next line we'll be at Docker on command Docker run.

88
00:06:40,380 --> 00:06:43,770
I'll use also separation using backslash and the here.

89
00:06:43,800 --> 00:06:50,480
Let's first add the network to the same network for all three containers WordPress.

90
00:06:50,730 --> 00:06:58,400
Next I need to use Port mapping and expose this container using external port and I'll use Port 88 for

91
00:06:58,410 --> 00:07:02,340
work press and 88 to 1 for BHP at my admin actually.

92
00:07:02,440 --> 00:07:05,900
Let me adjust this brought in BHP my admin immediately.

93
00:07:06,090 --> 00:07:12,930
And here will be port mapping DSP 80 80 and internal port for wordpress will be 80.

94
00:07:12,960 --> 00:07:13,750
It is default.

95
00:07:13,770 --> 00:07:15,000
What passport.

96
00:07:15,030 --> 00:07:15,670
Great.

97
00:07:15,720 --> 00:07:18,460
On next line actually I'll run WordPress.

98
00:07:18,480 --> 00:07:20,640
Also in background there's the option.

99
00:07:20,730 --> 00:07:21,970
And yeah I will.

100
00:07:22,080 --> 00:07:24,510
If I name of the image I will use.

101
00:07:24,510 --> 00:07:28,900
Please note that I will use custom WordPress image with Pacific Tech fire.

102
00:07:28,920 --> 00:07:34,470
But from here we will be able to image what press column 5 but for.

103
00:07:34,890 --> 00:07:35,500
Great.

104
00:07:35,520 --> 00:07:38,140
That's all what I need to do for wordpress contain.

105
00:07:38,430 --> 00:07:46,080
But basically let me also add a custom name for wordpress container and BHP my admin container for it

106
00:07:46,080 --> 00:07:48,650
by declarative and I'll add them here.

107
00:07:49,990 --> 00:07:53,020
Name and here we'll be WordPress.

108
00:07:53,010 --> 00:08:01,440
Max let's also look at the name here for BHP my admin name here will be BHP my admin.

109
00:08:01,480 --> 00:08:08,170
Like so and drink up that there was no name for my skill container here on this set.

110
00:08:08,170 --> 00:08:12,640
Also dealt with this environment variable for my skill container.

111
00:08:12,760 --> 00:08:19,160
I have told you that now for the setup we need to add three additional environment variables for my

112
00:08:19,160 --> 00:08:20,240
skill container.

113
00:08:20,620 --> 00:08:26,740
Let's add them here below this one and if you want to create the multiple environment variables unit

114
00:08:26,800 --> 00:08:31,270
simply use this you flag multiple times does this simple.

115
00:08:31,280 --> 00:08:40,679
This issue here will be my skill under score database and let's set it equal to WordPress backslash.

116
00:08:40,690 --> 00:08:46,810
Next comes one more variable my escrow user name equals sign.

117
00:08:46,920 --> 00:08:57,460
WordPress as well backslash and finally let's add my scribble underscore password variable equals sign

118
00:08:57,730 --> 00:09:00,390
and let's say also word press.

119
00:09:00,460 --> 00:09:03,030
Like so don't forget to add backslash.

120
00:09:03,250 --> 00:09:10,180
And here we have four different environmental variables and those variables will be used by WordPress

121
00:09:10,270 --> 00:09:12,730
to connect to my skill container.

122
00:09:13,010 --> 00:09:15,340
Alright let me clarify all those commands.

123
00:09:15,340 --> 00:09:18,390
So here throws to we create custom WordPress network.

124
00:09:18,490 --> 00:09:24,340
It will be breached network with custom subnet next the comms command that will launch my skills cetera

125
00:09:24,400 --> 00:09:30,430
with 4 environment variables and this center will be started in custom WordPress network.

126
00:09:30,430 --> 00:09:38,350
Its name will be Maya Skrill and we will be able to reach this server by this custom name dog our host

127
00:09:38,410 --> 00:09:45,270
will result this custom name to IP address that will be assigned to this container and we will run.

128
00:09:45,280 --> 00:09:47,400
This my skill set of writing background.

129
00:09:47,590 --> 00:09:49,990
Basically sorry I have forgotten to add here.

130
00:09:50,030 --> 00:09:52,270
Custom tech 5 silent.

131
00:09:52,930 --> 00:09:53,640
All right.

132
00:09:53,740 --> 00:09:56,110
Here is a command for my skills Sara.

133
00:09:56,110 --> 00:10:02,680
It seems now with this fully correct next command we'll start WordPress container dock around network

134
00:10:02,690 --> 00:10:04,440
will be WordPress custom.

135
00:10:04,450 --> 00:10:07,010
Same as for old Romanian containers.

136
00:10:07,030 --> 00:10:08,380
Name will be WordPress.

137
00:10:08,380 --> 00:10:14,860
Basically we don't need to have this name here but there is a good practice to add the custom name to

138
00:10:14,860 --> 00:10:20,620
every container you create the eyes or if you run container using Docker on comment or when you run

139
00:10:20,620 --> 00:10:23,050
containers using Docker compose.

140
00:10:23,050 --> 00:10:31,420
So next we expose WordPress container it use an external port 88 internal port is 80 and we will lounge

141
00:10:31,510 --> 00:10:34,050
in the background using the option.

142
00:10:34,090 --> 00:10:39,650
This container and image use this one Wordpress and tech is 5 dot four.

143
00:10:40,330 --> 00:10:44,980
And finally we will Iran and BHP my admin in the same network WordPress.

144
00:10:45,070 --> 00:10:52,410
Name is BHP my admin again does not mandatory and we expose internal port aided to external port 80

145
00:10:52,440 --> 00:11:00,060
81 and we also set the environment 20 move be my host that will point to my Skrill name.

146
00:11:00,160 --> 00:11:03,460
It is actually a DNS name of my skill container.

147
00:11:03,850 --> 00:11:10,510
And finally we will start this container using BHP my Edwards left BHP my Edmond image in background.

148
00:11:10,560 --> 00:11:11,210
There's.

149
00:11:11,440 --> 00:11:14,930
I haven't asked you to use specific tech for this image.

150
00:11:14,920 --> 00:11:17,460
That's why we will use latest milestone.

151
00:11:17,530 --> 00:11:23,060
All right now we are ready to start and test this configuration but let's make a short break.

152
00:11:23,110 --> 00:11:25,860
Save this file and do that after the small piles.

153
00:11:25,870 --> 00:11:26,550
See you next.

154
00:11:26,550 --> 00:11:26,770
My.

