1
00:00:04,400 --> 00:00:05,450
All right guys.

2
00:00:05,480 --> 00:00:10,590
No you know differences between your dollar machines and docker containers and main difference is that

3
00:00:10,640 --> 00:00:16,400
beautiful machines have guest operating systems and usually every dollar machine that has dedicated

4
00:00:16,460 --> 00:00:24,090
resources like C.P. you ram and hard drive dollar containers don't have all guest operating system day

5
00:00:24,190 --> 00:00:26,740
rely on horse operating system.

6
00:00:26,900 --> 00:00:30,090
And they also don't have dedicated resources.

7
00:00:30,110 --> 00:00:34,790
They share resources that we are assigned to Docker engine.

8
00:00:34,790 --> 00:00:41,390
All right let me I'll explain you how actually docker containers are running on host operating system

9
00:00:41,900 --> 00:00:43,570
and let me show you this diagram.

10
00:00:43,790 --> 00:00:52,620
And on this diagram you see Linux as host operating system this machine has some resources like CPE

11
00:00:52,620 --> 00:00:55,440
you RAM disk and network.

12
00:00:55,710 --> 00:01:00,420
There is also linux kernel inside of this Linux machine.

13
00:01:00,420 --> 00:01:05,280
There was Docker engine installed and sentenced to Docker engine.

14
00:01:05,280 --> 00:01:13,810
Now you are able to create different containers inside of this Linux machine and all those containers.

15
00:01:13,810 --> 00:01:17,200
We'll be sharing those resources.

16
00:01:17,470 --> 00:01:22,320
Actually you could limit or resources that could be allocated to all containers.

17
00:01:22,420 --> 00:01:27,580
And of course they should be less than this machine has in total resources.

18
00:01:27,580 --> 00:01:33,820
I mean if this Linux machine has let's say Ed you go by diaphragm you could assigned to dock our containers

19
00:01:33,910 --> 00:01:42,470
just two gigabytes or three gigabytes and to gain all those containers we'll share those resources share

20
00:01:42,510 --> 00:01:48,620
Disk Size Share access to network share RAM and share CPM.

21
00:01:49,030 --> 00:01:55,640
It is possible in Linux operating systems because in Linux it is possible to group or sources better

22
00:01:55,720 --> 00:02:03,410
brought us or by a group of processors it is not possible to do in macros for example but it is possible

23
00:02:03,410 --> 00:02:05,640
to do the same on Windows computers.

24
00:02:05,780 --> 00:02:11,480
And it is possible to create Windows containers but in this course I will talk about the windows containers

25
00:02:11,480 --> 00:02:14,660
because at the moment they are not so often used.

26
00:02:14,660 --> 00:02:18,440
And I will primarily focus only on Linux containers.

27
00:02:18,440 --> 00:02:27,050
And again main idea behind all of this Docker setup is that it is possible to group resources S.P. you

28
00:02:27,110 --> 00:02:34,690
ram these network Blair brought us inside of container or a group of processes inside of container.

29
00:02:34,840 --> 00:02:43,100
For example you are able to run 10 different containers with node G.S. process and every container might

30
00:02:43,100 --> 00:02:50,740
run different versions of an old geos or you are able to create the 10 different ingenious web servers

31
00:02:50,770 --> 00:02:57,790
in 10 different containers and again use different versions of ingenious different set of HDMI files

32
00:02:57,850 --> 00:02:59,470
JavaScript files and so on.

33
00:02:59,590 --> 00:03:08,380
Again it is possible due to separation of processes inside of the Linux but no question how is it possible

34
00:03:08,380 --> 00:03:12,800
to do the same on micros computer or Windows computer.

35
00:03:12,810 --> 00:03:20,710
It is possible if you create very small tiny Linux your machine inside of Microsoft or Windows computer.

36
00:03:21,000 --> 00:03:24,120
And in such case picture will be exactly the same.

37
00:03:24,120 --> 00:03:30,540
But this Linux your Dell machine will be run in all containers inside of the Mac or Windows computer

38
00:03:32,010 --> 00:03:35,290
designates simple All right let me know.

39
00:03:35,290 --> 00:03:43,240
Explain you how actually containers interact with Linux kernel and use resources on Linux computer.

40
00:03:43,570 --> 00:03:50,620
But again my outcome from this lecture is that containers docker containers are running inside of the

41
00:03:50,680 --> 00:03:59,500
Linux machine and if you set up a desktop you install actually tiny Linux for your Dell machine on your

42
00:03:59,500 --> 00:04:01,150
Mac or Windows computer.

43
00:04:01,900 --> 00:04:03,310
All right guys let's proceed.

44
00:04:03,370 --> 00:04:09,420
And next let's discuss how Docker processes interact with Linux kernel and use resources.

45
00:04:09,430 --> 00:04:11,170
I'll see you in the next lecture by Mike.

