Docker CLI is the command-line client for Docker’s HTTP-based API. It sends requests to the Docker Engine, which manages images, containers, networks, and other Docker resources. section 2.5
Use the CLI to:
- Manage containers on the local computer or on a remote Docker host. section 2.5
- Execute Dockerfile steps for packaging application components. section 11.0
- Start and stop application stacks described by Docker Compose files. section 11.0
- Run scripted Docker workflows inside automation and continuous-integration jobs. section 11.0
Figure 2.7 The Docker components
The Docker components diagram clarifies the CLI–API–Engine relationship behind every command. section 2.5


