From the course: Windows Server 2019: Deploying Containers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Manage images

Manage images - Windows Server Tutorial

From the course: Windows Server 2019: Deploying Containers

Start my 1-month free trial

Manage images

- [Instructor] We've been talking about how images are downloaded from an image registry and then you run those images to create containers. Here we have a list of the images that we've downloaded. We're able to view this list of images with the docker image ls command. Another way to view the exact same list is docker images. The docker images command is the older version. Docker does recommend that you use docker image ls instead. If we clear the screen, you can do a docker image just by itself and you can see that the docker image command has a number of different sub-commands. So not only can we list images with the ls option, but we can also push and pull images just like you can with docker push and docker pull. We can also use docker image rm to remove an image. So let's see which image would we want to remove. Let's list out our images with docker image ls and then we'll use docker image rm to remove an image, in this case let's remove hello world. So we untagged hello world…

Contents