1 00:00:00,000 --> 00:00:04,600 [Intro Music] 2 00:00:04,680 --> 00:00:06,480 That's all guys for the section where 3 00:00:06,480 --> 00:00:08,189 I have made brief introduction 4 00:00:08,220 --> 00:00:10,590 into Docker Images and Containers. 5 00:00:10,890 --> 00:00:12,840 We have tried to pull images from 6 00:00:12,840 --> 00:00:14,580 Docker Hub; and to create new 7 00:00:14,580 --> 00:00:16,710 containers based on those images. 8 00:00:17,160 --> 00:00:18,960 And now you understand that every 9 00:00:18,960 --> 00:00:21,450 Docker Image is read-only; and it 10 00:00:21,450 --> 00:00:24,720 consists of multiple 'fs' layers; and 11 00:00:24,720 --> 00:00:26,820 those 'fs' layers could be reused 12 00:00:26,820 --> 00:00:29,760 between different images. Also, 13 00:00:29,760 --> 00:00:31,200 when you create a new container 14 00:00:31,200 --> 00:00:32,970 from a specific image, Docker 15 00:00:33,000 --> 00:00:35,580 simply creates new writable 'fs' 16 00:00:35,580 --> 00:00:38,400 layer for this container. And also 17 00:00:38,430 --> 00:00:40,620 Docker creates a new process or 18 00:00:40,650 --> 00:00:42,870 multiple processes in specific 19 00:00:42,870 --> 00:00:44,850 new container. And this is done 20 00:00:44,850 --> 00:00:47,010 based on instructions included into 21 00:00:47,040 --> 00:00:50,700 Docker Image. And as soon as 22 00:00:50,730 --> 00:00:53,280 processes in container stop, Docker 23 00:00:53,310 --> 00:00:55,440 stops container as well. There is 24 00:00:55,440 --> 00:00:57,180 no need to keep container running 25 00:00:57,210 --> 00:00:58,620 when there are no running 26 00:00:58,620 --> 00:01:00,900 processes. Also, you know that 27 00:01:00,930 --> 00:01:03,000 Docker Containers share resources 28 00:01:03,030 --> 00:01:05,160 of Docker Host. They have common 29 00:01:05,160 --> 00:01:07,500 CPU, common hard drive, common 30 00:01:07,500 --> 00:01:09,960 memory, and common network access. 31 00:01:10,500 --> 00:01:12,900 And all requests to those resources 32 00:01:12,960 --> 00:01:15,180 are performed via common Linux 33 00:01:15,180 --> 00:01:18,240 Kernel. Also, you know guys how to 34 00:01:18,240 --> 00:01:20,640 pull images from Docker Hub, how to 35 00:01:20,670 --> 00:01:22,650 create new containers, how to 36 00:01:22,650 --> 00:01:24,780 remove stopped containers, and how to 37 00:01:24,780 --> 00:01:27,570 remove images. Before moving on to 38 00:01:27,570 --> 00:01:29,250 a further discussion of Docker 39 00:01:29,250 --> 00:01:31,140 features I have decided to include 40 00:01:31,140 --> 00:01:32,970 a section called 'Introduction to 41 00:01:32,970 --> 00:01:35,250 Linux', and in that section I'll 42 00:01:35,250 --> 00:01:37,680 cover most important features of 43 00:01:37,680 --> 00:01:39,540 Linux. I'll see you in the next 44 00:01:39,540 --> 00:01:40,560 section. Bye-Bye. 45 00:01:40,560 --> 00:01:42,933 [no audio]