Docker CLI
Docker's command-line client for interacting with Docker engines and managing Docker resources, images, and containers.
Podman in Action: Secure, rootless containers for Kubernetes, microservices, and more
The Docker CLI is the command-line client through which users invoke Docker container operations.
- How it is used
- Supports familiar command-line workflows for creating, managing, and sharing container images and containers.
- How deep it goes
- Explains commands and the client-server execution path through Docker daemon, containerd, and an OCI runtime.
- Examples
- Uses docker ps, container lifecycle commands, image commands, registry operations, build, and the docker=podman alias.
- What you can do after
- Operate containers and images through Docker-compatible commands, including workflows redirected to Podman.
Kubernetes in Action, Second Edition
The Docker CLI is the command-line client for sending container-management commands to Docker.
- How it is used
- Runs containers from images through a command-line workflow.
- How deep it goes
- Demonstrates installation and one docker run workflow, but stops short of broader command reference or internals.
- Examples
- Uses busybox to run echo "Hello World", with Redis image commands as additional run examples.
- What you can do after
- Operate/configure it to pull an image and run a simple container command.
Read how Kubernetes in Action, Second Edition explains Docker CLI →
Learn Docker in a Month of Lunches, Second Edition
Docker CLI is the command-line interface for interacting with Docker.
- How it is used
- Connects developers and automation jobs to Docker for managing containers and running application packaging workflows.
- How deep it goes
- Explains the CLI–API–Engine architecture and remote control, but stops short of deeper containerd implementation details.
- Examples
- Uses local and remote container management, Dockerfile packaging, Compose stack control, and scripted CI jobs.
- What you can do after
- Operate/configure Docker workflows locally, remotely, and within automated build and test processes.
Read how Learn Docker in a Month of Lunches, Second Edition explains Docker CLI →
Also covered in
What to know first
- containerA software container is an isolated execution environment that packages an application and its dependencies, typically sharing the host operating-system kernel.
Related concepts
- Docker daemonuses · The Docker daemon is a background service that builds and manages Docker images, containers, networks, storage, and related operations for clients.
- daemonuses · A daemon is a long-running background process that operates independently of direct user interaction to provide services or perform ongoing system work.
- Docker Hubuses · Docker Hub is a hosted registry service for discovering, storing, sharing, and distributing container images and related artifacts.
- container registryuses · A container registry is a service or repository for storing, managing, and distributing container images and related artifacts.
Questions about Docker CLI
What is Docker CLI?
Docker's command-line client for interacting with Docker engines and managing Docker resources, images, and containers.
Which Manning books explain Docker CLI?
Podman in Action: Secure, rootless containers for Kubernetes, microservices, and more, Kubernetes in Action, Second Edition and Learn Docker in a Month of Lunches, Second Edition.
What should I know before learning Docker CLI?
Manning books that teach Docker CLI usually introduce container first.
What are the parts of Docker CLI?
Docker CLI includes container port command.
What is Docker CLI also called?
Docker CLI is also called Docker client.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.


