Docker CLI
The docker command you type into a terminal; it sends requests to the Docker daemon and prints the answers.
In more detail
CLI stands for command-line interface: a program you control by typing commands rather than clicking. The Docker CLI does little work itself; it turns docker run and friends into calls to the Docker Engine API. A Docker context tells it which daemon to talk to, which is how one CLI can drive a local and a remote engine.
Related terms
- Docker daemon — The background program that owns images, containers, networks and volumes and does the work the docker command asks for.
- Docker context — A saved setting that tells the Docker CLI which Docker daemon to talk to.
- API — A defined way for one program to ask another program to do something, such as a list of web requests a service accepts.
- terminal — The text window where you type commands and read their output.
- command-line interface — A program you control by typing commands as text in a terminal instead of clicking in a window.
Taught in
- Docker, OCI, The Engine And The CLI — Docker Architecture & Production Containers
- Authenticate, Tag, Push And Pull From A Registry — Docker Architecture & Production Containers