docker-context-use (1) Linux Manual Page
NAME docker-context-use – Set the current docker context SYNOPSIS docker context use CONTEXT DESCRIPTION Set the current docker context OPTIONS -h, –help[=false] help for use SEE ALSO docker-context(1) Index
Section 1: user commands and tools
NAME docker-context-use – Set the current docker context SYNOPSIS docker context use CONTEXT DESCRIPTION Set the current docker context OPTIONS -h, –help[=false] help for use SEE ALSO docker-context(1) Index
NAME docker-context-update – Update a context SYNOPSIS docker context update [OPTIONS] CONTEXT DESCRIPTION Update a context Docker endpoint config: NAME DESCRIPTION from Copy named context’s Docker endpoint configuration host Docker endpoint on which to connect ca Trust certs signed only by this CA cert Path to TLS certificate file key Path to TLS key file…
NAME docker-context-rm – Remove one or more contexts SYNOPSIS docker context rm CONTEXT [CONTEXT…] DESCRIPTION Remove one or more contexts OPTIONS -f, –force[=false] Force the removal of a context in use -h, –help[=false] help for rm SEE ALSO docker-context(1) Index
NAME docker-context-ls – List contexts SYNOPSIS docker context ls [OPTIONS] DESCRIPTION List contexts OPTIONS –format="" Pretty-print contexts using a Go template -h, –help[=false] help for ls -q, –quiet[=false] Only show context names SEE ALSO docker-context(1) Index
NAME docker-context-inspect – Display detailed information on one or more contexts SYNOPSIS docker context inspect [OPTIONS] [CONTEXT] [CONTEXT…] DESCRIPTION Display detailed information on one or more contexts OPTIONS -f, –format="" Format the output using the given Go template -h, –help[=false] help for inspect SEE ALSO docker-context(1) Index
NAME docker-context-import – Import a context from a tar or zip file SYNOPSIS docker context import CONTEXT FILE|- DESCRIPTION Import a context from a tar or zip file OPTIONS -h, –help[=false] help for import SEE ALSO docker-context(1) Index
NAME docker-context-export – Export a context to a tar or kubeconfig file SYNOPSIS docker context export [OPTIONS] CONTEXT [FILE|-] DESCRIPTION Export a context to a tar or kubeconfig file OPTIONS -h, –help[=false] help for export –kubeconfig[=false] Export as a kubeconfig file SEE ALSO docker-context(1) Index
NAME docker-context-create – Create a context SYNOPSIS docker context create [OPTIONS] CONTEXT DESCRIPTION Create a context Docker endpoint config: NAME DESCRIPTION from Copy named context’s Docker endpoint configuration host Docker endpoint on which to connect ca Trust certs signed only by this CA cert Path to TLS certificate file key Path to TLS key file…
NAME docker-container – Manage containers SYNOPSIS docker container DESCRIPTION Manage containers OPTIONS -h, –help[=false] help for container SEE ALSO docker(1), docker-container-attach(1), docker-container-commit(1), docker-container-cp(1), docker-container-create(1), docker-container-diff(1), docker-container-exec(1), docker-container-export(1), docker-container-inspect(1), docker-container-kill(1), docker-container-logs(1), docker-container-ls(1), docker-container-pause(1), docker-container-port(1), docker-container-prune(1), docker-container-rename(1), docker-container-restart(1), docker-container-rm(1), docker-container-run(1), docker-container-start(1), docker-container-stats(1), docker-container-stop(1), docker-container-top(1), docker-container-unpause(1), docker-container-update(1), docker-container-wait(1) Index
NAME docker-container-wait – Block until one or more containers stop, then print their exit codes SYNOPSIS docker container wait CONTAINER [CONTAINER…] DESCRIPTION Block until a container stops, then print its exit code. EXAMPLES $ docker run -d fedora sleep 99 079b83f558a2bc52ecad6b2a5de13622d584e6bb1aea058c11b36511e85e7622 $ docker container wait 079b83f558a2bc 0 OPTIONS -h, –help[=false] help for wait SEE ALSO…
NAME docker-container-update – Update configuration of one or more containers SYNOPSIS docker container update [OPTIONS] CONTAINER [CONTAINER…] DESCRIPTION The docker container update command dynamically updates container configuration. You can use this command to prevent containers from consuming too many resources from their Docker host. With a single command, you can place limits on a single…
NAME docker-container-unpause – Unpause all processes within one or more containers SYNOPSIS docker container unpause CONTAINER [CONTAINER…] DESCRIPTION The docker container unpause command un-suspends all processes in a container. On Linux, it does this using the freezer cgroup. See the freezer cgroup documentation <https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-subsystem.txt> for further details. OPTIONS -h, –help[=false] help for unpause SEE ALSO…
NAME docker-container-top – Display the running processes of a container SYNOPSIS docker container top CONTAINER [ps OPTIONS] DESCRIPTION Display the running process of the container. ps-OPTION can be any of the options you would pass to a Linux ps command. All displayed information is from host’s point of view. EXAMPLES Run docker container top with…
NAME docker-container-stop – Stop one or more running containers SYNOPSIS docker container stop [OPTIONS] CONTAINER [CONTAINER…] DESCRIPTION Stop a container (Send SIGTERM, and then SIGKILL after grace period) OPTIONS -h, –help[=false] help for stop -t, –time=10 Seconds to wait for stop before killing it SEE ALSO docker-container(1) Index
NAME docker-container-stats – Display a live stream of container(s) resource usage statistics SYNOPSIS docker container stats [OPTIONS] [CONTAINER…] DESCRIPTION Display a live stream of one or more containers’ resource usage statistics Format Pretty-print containers statistics using a Go template. Valid placeholders: .Container – Container name or ID. .Name – Container name. .ID – Container ID….
NAME docker-container-start – Start one or more stopped containers SYNOPSIS docker container start [OPTIONS] CONTAINER [CONTAINER…] DESCRIPTION Start one or more containers. OPTIONS -a, –attach[=false] Attach STDOUT/STDERR and forward signals –checkpoint="" Restore from this checkpoint –checkpoint-dir="" Use a custom checkpoint storage directory –detach-keys="" Override the key sequence for detaching a container -h, –help[=false] help for…
NAME docker-container-run – Run a command in a new container SYNOPSIS docker container run [OPTIONS] IMAGE [COMMAND] [ARG…] DESCRIPTION Alias for docker run. OPTIONS –add-host= Add a custom host-to-IP mapping (host:ip) -a, –attach= Attach to STDIN, STDOUT or STDERR –blkio-weight=0 Block IO (relative weight), between 10 and 1000, or 0 to disable (default 0) –blkio-weight-device=[]…
NAME docker-container-rm – Remove one or more containers SYNOPSIS docker container rm [OPTIONS] CONTAINER [CONTAINER…] DESCRIPTION docker container rm will remove one or more containers from the host node. The container name or ID can be used. This does not remove images. You cannot remove a running container unless you use the -f option. To…
NAME docker-container-restart – Restart one or more containers SYNOPSIS docker container restart [OPTIONS] CONTAINER [CONTAINER…] DESCRIPTION Restart each container listed. OPTIONS -h, –help[=false] help for restart -t, –time=10 Seconds to wait for stop before killing the container SEE ALSO docker-container(1) Index
NAME docker-container-rename – Rename a container SYNOPSIS docker container rename CONTAINER NEW_NAME DESCRIPTION Rename a container. Container may be running, paused or stopped. OPTIONS -h, –help[=false] help for rename SEE ALSO docker-container(1) Index