docker_commands
Table of Contents
Docker Commands
Return to Docker topics, Docker, kubectl commands, helm commands, terraform commands
docker
Usage: docker [OPTIONS] COMMAND
A self-sufficient runtime for containers
Options:
--config string Location of client config files (default "C:\\Users\\McseC\\.docker") -c, --context string 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 list Daemon socket(s) to connect to -l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info") --tls Use TLS; implied by --tlsverify --tlscacert string Trust certs signed only by this CA (default "C:\\Users\\McseC\\.docker\\ca.pem") --tlscert string Path to TLS certificate file (default "C:\\Users\\McseC\\.docker\\cert.pem") --tlskey string Path to TLS key file (default "C:\\Users\\McseC\\.docker\\key.pem") --tlsverify Use TLS and verify the remote -v, --version Print version information and quit
Management Commands
TASK!!!! Add the redirect for the PLURAL and the GERUND (-ing) and if appropriate the -able (e.g. networkable, buildable, configurable, stackable, plugable, serviceable, swarmable, trustable, of EACH command, such as builders, configs, containers, contexts, etc.
- docker builder - Manage builds
- docker config - Manage Docker configs
- docker container - Manage containers
- docker context - Manage contexts
- docker image - Manage images
- docker network - Manage networks
- docker node - Manage Swarm nodes
- docker plugin - Manage plugins
- docker secret - Manage Docker secrets
- docker service - Manage services
- docker stack - Manage Docker stacks
- docker swarm - Manage Swarm
- docker system - Manage Docker
- docker trust - Manage trust on Docker images
- docker volume - Manage volumes
Commands
- docker attach - Attach local standard input, output, and error streams to a running container
- docker build - Build an image from a Dockerfile
- docker commit - Create a new image from a container's changes
- docker cp - Copy files/folders between a container and the local filesystem
- docker create - Create a new container
- docker deploy - Deploy a new stack or update an existing stack
- docker diff - Inspect changes to files or directories on a container's filesystem
- docker events - Get real time events from the server
- docker exec - Run a command in a running container
- docker export - Export a container's filesystem as a tar archive
- docker history - Show the history of an image
- docker images - List images
- docker import - Import the contents from a tarball to create a filesystem image
- docker info - Display system-wide information
- docker inspect - Return low-level information on Docker objects
- docker kill - Kill one or more running containers
- docker load - Load an image from a tar archive or STDIN
- docker login - Log in to a Docker registry
- docker logout - Log out from a Docker registry
- docker logs - Fetch the logs of a container
- docker pause - Pause all processes within one or more containers
- docker port - List port mappings or a specific mapping for the container
- docker ps - List containers
- docker pull - Pull an image or a repository from a registry
- docker push - Push an image or a repository to a registry
- docker rename - Rename a container
- docker restart - Restart one or more containers
- docker rm - Remove one or more containers
- docker rmi - Remove one or more images
- docker run - Run a command in a new container
- docker save - Save one or more images to a tar archive (streamed to STDOUT by default)
- docker search - Search the Docker Hub for images
- docker start - Start one or more stopped containers
- docker stats - Display a live stream of container(s) resource usage statistics
- docker stop - Stop one or more running containers
- docker tag - Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
- docker top - Display the running processes of a container
- docker unpause - Unpause all processes within one or more containers
- docker update - Update configuration of one or more containers
- docker version - Show the Docker version information
- docker wait - Block until one or more containers stop, then print their exit codes
Run 'docker COMMAND –help' for more information on a command.
docker_commands.txt · Last modified: 2024/05/01 03:58 by 127.0.0.1