Working With Docker Containers
In this chapter, we will cover the following recipes:
-
Listing/searching for an image
-
Pulling an image
-
Listing images
-
Starting a container
-
Listing containers
-
Looking at the container logs
-
Stopping a container
-
Removing a container
-
Removing all stopped containers
-
Setting the restart policy on a container
-
Getting privileged access inside a container
-
Accessing the host device inside a container
-
Injecting a new process into a running container
-
Reading a container’s metadata
-
Labeling and filtering containers
-
Reaping a zombie inside a container