From the course: Docker Essential Training
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Diving deeper into Docker images: Part 2 - Docker Tutorial
From the course: Docker Essential Training
Diving deeper into Docker images: Part 2
- [Instructor] Now, let's go back to the -t -f command that we ran earlier. Let's focus on the layers of this image. We can see that there's two, one starting with 1fa3 and another starting with 4e5f. Alongside those tar files, we have two files, json and VERSION. Let's start with json. I'm going to go ahead and copy this, and run my -x command from earlier. Replace manifest.json with what I just copied and hit Enter. As we can see here, this json file looks almost exactly like the config we saw earlier with two key differences. First, layers beneath the topmost layer will contain a parent property that tells the runtime the order the layers came in, and all layers will have an id property set to the respective IDs of those layers. Let's copy the VERSION file now and take a look at that. The VERSION file will always just be 1.0. It's a little hard to see because there isn't a new line, but that's all this file…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.