Running Docker Containers

This chapter is dedicated to the Docker command line. We have run some containers in the previous chapters, but we did not go into detail regarding the arguments and options used.

In this chapter, we will talk about different Docker objects, such as images, containers, and volumes, and their associated actions. Not all objects will have the same features and, consequently, they will not have the same actions and arguments.

Remember that image building is based on container execution. Each layer is the result of executing commands on a container that is automatically "committed" in a Docker node's filesystem. All these layers, when grouped together, constitute an image.

In this chapter, we will cover the following ...

Get Docker Certified Associate (DCA): Exam Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.