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.
Control containers in Windows - Windows Server Tutorial
From the course: Windows Server 2019: Deploying Containers
Control containers in Windows
- [Instructor] If you're going to be administering containers inside Windows Server 2019, there are a few commands that you need to be aware of when it comes to controlling your containers. So, if we just type docker by itself, we get a list of all the different docker commands, or subcommands, I should say, that we can run. I want to specifically point out docker ps. The ps subcommand allows us to list containers, as you can see there. So this lists the running containers that are currently executed on this Windows host. And then there's docker start, to start one or more stopped containers. And then finally, docker stop, to stop one or more running containers. Now, we've already used the docker run command to run a container in Windows, but what's important to point out is when that container stops running, it becomes a stopped container. It doesn't go back to becoming an image, the image still exists, you simply have a stopped container. So if we type docker ps, you get a list of…
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
-
-
-
-
-
-
(Locked)
Control containers in Windows6m 20s
-
(Locked)
Manage images5m 54s
-
(Locked)
Understand tags3m 17s
-
(Locked)
Manage container networking8m 50s
-
(Locked)
Manage container storage9m 22s
-
(Locked)
Orchestrate Windows Containers with Swarm8m 31s
-
(Locked)
Orchestrate Windows Containers with Kubernetes2m 25s
-
(Locked)
Use Dockerfiles4m 46s
-
(Locked)
Enable Hyper-V Containers12m 54s
-
(Locked)
Run Windows Nano Server in a container3m 38s
-
(Locked)
Run Linux containers in Windows4m 33s
-
(Locked)
-
-
-