1
00:00:04,350 --> 00:00:05,020
All right.

2
00:00:05,110 --> 00:00:10,750
We have just successfully agreed that the world press container and the we were even able to connect

3
00:00:10,750 --> 00:00:17,220
to WordPress admin web page and start performing initial configuration setup.

4
00:00:17,260 --> 00:00:23,380
But here we were asked to answer credentials for connection to my Maya school database.

5
00:00:23,380 --> 00:00:30,280
But this database is absent at the moment and there isn't for that is simple WordPress itself is shipped

6
00:00:30,340 --> 00:00:37,800
without Maya skill database and does because in Docker there was a principle of single responsibility.

7
00:00:37,990 --> 00:00:44,500
And basically every container should be responsible for single process single service.

8
00:00:44,530 --> 00:00:50,840
And that's why if you want to create a wordpress website you need at least two containers WordPress

9
00:00:50,860 --> 00:00:53,590
container and Maya grill container.

10
00:00:53,650 --> 00:00:56,030
And of course connect them together.

11
00:00:56,140 --> 00:01:03,640
And here we come to important topic connection between containers on one computer or on different computers.

12
00:01:03,640 --> 00:01:08,620
And the here we will ACARA basically different concepts forced networking.

13
00:01:08,680 --> 00:01:13,870
It is important to understand how containers we communicate with each other.

14
00:01:14,320 --> 00:01:16,480
Second environment variables.

15
00:01:16,630 --> 00:01:19,250
When you start for example my go container.

16
00:01:19,390 --> 00:01:27,340
You need to provide at least a root admin password and for that you need to use an environment variable.

17
00:01:27,400 --> 00:01:33,450
Also it is important to understand what is cast on network because in custom networks in Docker containers

18
00:01:33,490 --> 00:01:40,720
may communicate between each user by using a curtain names as a DNS host names and all those concepts

19
00:01:40,780 --> 00:01:43,350
we will cover in the next layer Charles.

20
00:01:43,480 --> 00:01:51,010
And let's start by talking about the communication between containers in default breach network and

21
00:01:51,010 --> 00:01:57,820
for that we will create the two busy box containers and I'll explain you how you're able to build one

22
00:01:57,820 --> 00:01:59,400
container from another.

23
00:01:59,410 --> 00:02:01,090
I'll see you in the next lecture by.

