1 00:00:00,720 --> 00:00:05,400 In last section we tried to answer the question of why use Docker and we eventually said that we use 2 00:00:05,400 --> 00:00:10,720 Docker because it makes it really easy to install and run a new software on our computer. 3 00:00:10,740 --> 00:00:15,750 We're not going to try to answer the other big question here which is what is Docker. 4 00:00:15,750 --> 00:00:19,020 Well this question is a lot more challenging to answer. 5 00:00:19,060 --> 00:00:24,630 Anytime you see someone refer to Docker in a blog post or an article or a forum or wherever it might 6 00:00:24,630 --> 00:00:31,080 be they're kind of making reference to an entire ecosystem of different projects tools and pieces of 7 00:00:31,080 --> 00:00:32,160 software. 8 00:00:32,160 --> 00:00:38,700 So if someone says Oh yeah I use Docker on my project they might be referring to Docker client or Docker 9 00:00:38,700 --> 00:00:42,120 server they might be referring to Docker Hub or Docker compose. 10 00:00:42,120 --> 00:00:49,560 Again these are all projects tools pieces of software that come together to form a platform where ecosystem 11 00:00:49,860 --> 00:00:53,680 around creating and running something called containers. 12 00:00:54,060 --> 00:00:56,260 And so your immediate question might be. 13 00:00:56,310 --> 00:00:57,900 OK well what's a container. 14 00:00:58,410 --> 00:01:01,980 That's a good question and that's a question that we're going to be trying to answer throughout this 15 00:01:01,980 --> 00:01:03,470 entire course. 16 00:01:03,510 --> 00:01:09,540 Just a moment ago when I ran that command at my terminal of Docker run read this and went through a 17 00:01:09,540 --> 00:01:14,550 little series of actions behind the scenes we're going to examine that entire series of actions very 18 00:01:14,550 --> 00:01:15,630 closely over time. 19 00:01:15,690 --> 00:01:19,430 But right now let me give you two important pieces of terminology. 20 00:01:19,530 --> 00:01:25,020 When I ran that command something called the docker S.L. I reached out to something called the Docker 21 00:01:25,020 --> 00:01:32,820 Hub and it downloaded a single file called an image an image is a single file containing all the dependencies 22 00:01:32,940 --> 00:01:39,300 and all the configuration required to run a very specific program for example this which is what the 23 00:01:39,300 --> 00:01:42,300 image that I just downloaded was supposed to run. 24 00:01:42,330 --> 00:01:48,000 This is a single file that gets stored on your hard drive and at some point time you can use this image 25 00:01:48,000 --> 00:01:54,480 to create something called a container a container is an instance of an image and you can kind of think 26 00:01:54,480 --> 00:01:57,520 of it as being like a running program. 27 00:01:57,540 --> 00:02:02,700 We're going to go into great detail over time over behind her to learn exactly how a container works 28 00:02:02,700 --> 00:02:03,270 exactly. 29 00:02:03,300 --> 00:02:09,060 But right now all we really need to understand is that a container is a program with its own isolated 30 00:02:09,060 --> 00:02:14,550 set of hardware resources so it kind of has its own little set or its own little space of memory has 31 00:02:14,550 --> 00:02:21,760 its own little space of networking technology and its own little space of hard drive space as well. 32 00:02:21,810 --> 00:02:28,260 OK so I didn't really answer the question here of what Docker is but we did learn at least that a reference 33 00:02:28,260 --> 00:02:32,310 to Docker is really talking about a whole collection of different projects and tools. 34 00:02:32,310 --> 00:02:37,850 And we also picked up two important pieces of terminology a darker image and a container. 35 00:02:37,950 --> 00:02:41,970 Now these images and containers are the absolute backbone of what you and I are going to be working 36 00:02:41,970 --> 00:02:43,620 with throughout the rest of this course. 37 00:02:43,620 --> 00:02:45,110 So let's take a quick pause right now. 38 00:02:45,150 --> 00:02:46,530 We're gonna come back the next section. 39 00:02:46,530 --> 00:02:50,790 We're going to start talking a little bit more about how we work with images and containers. 40 00:02:50,790 --> 00:02:52,590 So quick break and I'll see you in just a minute.