1 00:00:00,000 --> 00:00:04,200 [Intro Music] 2 00:00:04,230 --> 00:00:06,060 You know now what is Docker Image, 3 00:00:06,060 --> 00:00:07,800 and what is Docker Container, and 4 00:00:07,800 --> 00:00:09,300 you are able to create multiple 5 00:00:09,300 --> 00:00:11,220 containers from the same Docker 6 00:00:11,250 --> 00:00:13,290 Image. And difference between Docker 7 00:00:13,320 --> 00:00:15,330 Image and Docker Container, is that 8 00:00:15,360 --> 00:00:18,030 you are not able to modify Docker 9 00:00:18,060 --> 00:00:20,160 Image, you are able only to read it 10 00:00:20,550 --> 00:00:22,980 or create other image on top of that 11 00:00:23,010 --> 00:00:25,170 image. Also, when you create 12 00:00:25,170 --> 00:00:27,690 container, Docker creates writable 13 00:00:27,690 --> 00:00:29,940 layer and you are able to modify or 14 00:00:29,940 --> 00:00:31,770 create new files inside of the 15 00:00:31,800 --> 00:00:34,350 running container. And I have just 16 00:00:34,350 --> 00:00:35,550 shown you that you are able to 17 00:00:35,550 --> 00:00:37,740 launch multiple containers based on 18 00:00:37,740 --> 00:00:40,350 the same image. Now let me explain 19 00:00:40,350 --> 00:00:42,780 you what is Docker Repository. 20 00:00:43,440 --> 00:00:45,270 Probably, you know what is Git 21 00:00:45,270 --> 00:00:46,860 repository. If you don't know 22 00:00:46,860 --> 00:00:48,720 please check out my large course 23 00:00:48,720 --> 00:00:50,640 called 'Complete Git and GitHub 24 00:00:50,640 --> 00:00:52,530 guide' where I explain all the 25 00:00:52,530 --> 00:00:54,540 details of Git and GitHub. But in 26 00:00:54,540 --> 00:00:56,460 short words Git Repository is 27 00:00:56,490 --> 00:00:59,040 simply a set of files, and you are 28 00:00:59,040 --> 00:01:01,710 able using Git to track changes in 29 00:01:01,740 --> 00:01:04,319 repository. You're also able to 30 00:01:04,319 --> 00:01:06,840 publish your Git Repository to 31 00:01:06,870 --> 00:01:09,390 hosting service like GitHub, for 32 00:01:09,390 --> 00:01:11,880 example, or Bitbucket; and that is 33 00:01:11,910 --> 00:01:13,950 Git Repository. What is Docker 34 00:01:13,950 --> 00:01:16,920 Repository? You are able to create 35 00:01:16,950 --> 00:01:18,840 Docker Repository from Docker 36 00:01:18,870 --> 00:01:21,720 Images. And in every Docker 37 00:01:21,720 --> 00:01:24,300 Repository, you can have different 38 00:01:24,330 --> 00:01:28,020 versions of Docker Image. And you 39 00:01:28,020 --> 00:01:29,550 are able to create different 40 00:01:29,580 --> 00:01:31,740 versions of a specific Docker Image 41 00:01:31,770 --> 00:01:35,610 using tags. By default, every 42 00:01:35,640 --> 00:01:37,860 Docker Image should have at least a 43 00:01:37,890 --> 00:01:40,650 single tag called 'latest', but you 44 00:01:40,650 --> 00:01:42,690 are able to assign different tags 45 00:01:42,750 --> 00:01:45,210 to different versions of Docker 46 00:01:45,240 --> 00:01:48,270 Images. And this set of Docker 47 00:01:48,300 --> 00:01:50,250 Images with different tags is 48 00:01:50,250 --> 00:01:53,070 called Docker Repository. That's 49 00:01:53,100 --> 00:01:56,670 it. For example, if I go to list of 50 00:01:56,700 --> 00:01:58,590 images here on this computer, let 51 00:01:58,590 --> 00:02:00,750 me exit from this 'busybox' container; 52 00:02:00,900 --> 00:02:02,850 and enter 'docker images' command. 53 00:02:03,510 --> 00:02:06,000 I'll see such containers, for 54 00:02:06,000 --> 00:02:09,240 example, as 'wordpress', and you'll 55 00:02:09,240 --> 00:02:11,669 see two such kind of containers 56 00:02:11,699 --> 00:02:13,961 with two different tags, '5.4', 57 00:02:13,961 --> 00:02:16,350 and 'latest'. And that means 58 00:02:16,380 --> 00:02:18,720 that actually those two different 59 00:02:18,750 --> 00:02:22,050 images belong to same repository, 60 00:02:22,530 --> 00:02:24,660 but they were downloaded from 61 00:02:24,690 --> 00:02:26,790 Docker Hub. That is actually a 62 00:02:26,820 --> 00:02:29,610 repository hosting service called 63 00:02:29,640 --> 00:02:31,770 Docker Registry, and let's discuss 64 00:02:31,830 --> 00:02:33,450 what is Docker Registry in the next 65 00:02:33,450 --> 00:02:35,190 lecture. I'll see you just in a 66 00:02:35,190 --> 00:02:36,130 moment. Bye-Bye. 67 00:02:36,130 --> 00:02:38,122 [no audio]