docker
Description | The base command for the Docker CLI. |
---|
Description
The base command for the Docker CLI.
Options
Option | Default | Description |
---|---|---|
--config
|
/root/.docker
|
Location of client config files |
-c, --context
|
Name of the context to use to connect to the daemon (overrides DOCKER_HOST env var and default context set with docker context use ) |
|
-D, --debug
|
Enable debug mode | |
-H, --host
|
Daemon socket to connect to | |
-l, --log-level
|
info
|
Set the logging level (debug , info , warn , error , fatal )
|
--tls
|
Use TLS; implied by --tlsverify | |
--tlscacert
|
/root/.docker/ca.pem
|
Trust certs signed only by this CA |
--tlscert
|
/root/.docker/cert.pem
|
Path to TLS certificate file |
--tlskey
|
/root/.docker/key.pem
|
Path to TLS key file |
--tlsverify
|
Use TLS and verify the remote |
Subcommands
Command | Description |
---|---|
docker build (legacy builder)
| Build an image from a Dockerfile |
docker builder
| Manage builds |
docker buildx
| Docker Buildx |
docker checkpoint
| Manage checkpoints |
docker compose
| Docker Compose |
docker config
| Manage Swarm configs |
docker container
| Manage containers |
docker context
| Manage contexts |
docker debug
| Get a shell into any container or image. An alternative to debugging with `docker exec`. |
docker image
| Manage images |
docker init
| Creates Docker-related starter files for your project |
docker inspect
| Return low-level information on Docker objects |
docker login
| Log in to a registry |
docker logout
| Log out from a registry |
docker manifest
| Manage Docker image manifests and manifest lists |
docker network
| Manage networks |
docker node
| Manage Swarm nodes |
docker plugin
| Manage plugins |
docker scout
| Command line tool for Docker Scout |
docker search
| Search Docker Hub for images |
docker secret
| Manage Swarm secrets |
docker service
| Manage Swarm services |
docker stack
| Manage Swarm stacks |
docker swarm
| Manage Swarm |
docker system
| Manage Docker |
docker trust
| Manage trust on Docker images |
docker version
| Show the Docker version information |
docker volume
| Manage volumes |