Chapter 7

Docker Interface

In Chapter 5, “Docker Containers,” we talked about Dockerfile, which contains a set of commands that are executed by the Docker daemon. In this chapter, we cover the most commonly used commands. Then we create a Dockerfile using the commands and execute the file to review results.

Key Docker Commands

You can think of the following compendium of commands as the proverbial bible that must be mastered to work successfully with Docker—everything from searching and building images to creating your own Dockerfile. We review the simpler commands first and then build on them to get to some more involved ones.

Docker Search

The docker search command can be run on Docker CLI to search the available images in the Docker registry: ...

Get Microservices and Containers, First edition 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.