From the course: Windows Server 2019: Deploying Containers
Unlock the full course today
Join today to access over 22,500 courses taught by industry experts or purchase this course individually.
Understand tags - Windows Server Tutorial
From the course: Windows Server 2019: Deploying Containers
Understand tags
- [Narrator] Now let's talk briefly about tags. You do see here in this output there's a column for tags. And we've talked a little bit about tags off and on, an image can have multiple tags. In this case it looks like every image ID has only one tag. But what if we want to use the docker tag command? If we just type that in by itself it tells us that docker tag requires two arguments: a source image, an optional tag, and a target image, an optional tag. So this will create a target image that refers to the source image, and each of those can have optional tags. Let's try this out. If we do a docker tag, and then let's type in mcr.microsoft.com/windows/servercore/iis:latest and let's just tag this with iis:v1 and let's see the results of that. The very first image here that's listed is simply called iis and it has a tag of v1 and you can see that the image ID maps to the windows servercore iis latest image. So we created a new image with a new tag but which points to the same image ID…
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.
Contents
-
-
-
-
-
-
Control containers in Windows6m 20s
-
Manage images5m 54s
-
Understand tags3m 17s
-
Manage container networking8m 50s
-
Manage container storage9m 22s
-
Orchestrate Windows Containers with Swarm8m 31s
-
Orchestrate Windows Containers with Kubernetes2m 25s
-
Use Dockerfiles4m 46s
-
Enable Hyper-V Containers12m 54s
-
Run Windows Nano Server in a container3m 38s
-
Run Linux containers in Windows4m 33s
-
-
-
-