From the course: Certified Kubernetes Application Developer (CKAD) Cert Prep

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Managing containers

Managing containers

- In this lesson, I'm going to provide a quick introduction to managing containers, not because managing containers using either Docker or Podman is important for CKAD, but because it helps to know what is happening in a standalone containerized environment. If you want to know much more about containers, check out my getting started with containers or my Red Hat EX188 video courses. So let's talk about these fundamentals. How do you manage containers? Well, there is the Docker CLI that provides many commands for managing containers. Just for your information, I'm demonstrating the Docker CLI because my minikube setup script is installing docker. But as an alternative, you can use all of these commands using Podman as well. So Docker PS gives an overview of all currently running containers. We have already seen it. Docker ps -a provides an overview, not only of containers that are running right now, but also of all containers that have been running in the past. Docker stop is also…

Contents