mirror of https://github.com/docker/cli.git
chore: regenerate docs
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
(cherry picked from commit dc22572e3e
)
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
c777dd16df
commit
0a8bb6e5b4
|
@ -12,7 +12,7 @@ Attach local standard input, output, and error streams to a running container
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:---------|:--------|:----------------------------------------------------|
|
|:----------------|:---------|:--------|:----------------------------------------------------|
|
||||||
| `--detach-keys` | `string` | | Override the key sequence for detaching a container |
|
| `--detach-keys` | `string` | | Override the key sequence for detaching a container |
|
||||||
| `--no-stdin` | | | Do not attach STDIN |
|
| `--no-stdin` | `bool` | | Do not attach STDIN |
|
||||||
| `--sig-proxy` | `bool` | `true` | Proxy all received signals to the process |
|
| `--sig-proxy` | `bool` | `true` | Proxy all received signals to the process |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ Build an image from a Dockerfile
|
||||||
| [`--build-arg`](https://docs.docker.com/reference/cli/docker/buildx/build/#build-arg) | `list` | | Set build-time variables |
|
| [`--build-arg`](https://docs.docker.com/reference/cli/docker/buildx/build/#build-arg) | `list` | | Set build-time variables |
|
||||||
| `--cache-from` | `stringSlice` | | Images to consider as cache sources |
|
| `--cache-from` | `stringSlice` | | Images to consider as cache sources |
|
||||||
| [`--cgroup-parent`](https://docs.docker.com/reference/cli/docker/buildx/build/#cgroup-parent) | `string` | | Set the parent cgroup for the `RUN` instructions during build |
|
| [`--cgroup-parent`](https://docs.docker.com/reference/cli/docker/buildx/build/#cgroup-parent) | `string` | | Set the parent cgroup for the `RUN` instructions during build |
|
||||||
| `--compress` | | | Compress the build context using gzip |
|
| `--compress` | `bool` | | Compress the build context using gzip |
|
||||||
| `--cpu-period` | `int64` | `0` | Limit the CPU CFS (Completely Fair Scheduler) period |
|
| `--cpu-period` | `int64` | `0` | Limit the CPU CFS (Completely Fair Scheduler) period |
|
||||||
| `--cpu-quota` | `int64` | `0` | Limit the CPU CFS (Completely Fair Scheduler) quota |
|
| `--cpu-quota` | `int64` | `0` | Limit the CPU CFS (Completely Fair Scheduler) quota |
|
||||||
| `-c`, `--cpu-shares` | `int64` | `0` | CPU shares (relative weight) |
|
| `-c`, `--cpu-shares` | `int64` | `0` | CPU shares (relative weight) |
|
||||||
|
@ -23,21 +23,21 @@ Build an image from a Dockerfile
|
||||||
| `--cpuset-mems` | `string` | | MEMs in which to allow execution (0-3, 0,1) |
|
| `--cpuset-mems` | `string` | | MEMs in which to allow execution (0-3, 0,1) |
|
||||||
| `--disable-content-trust` | `bool` | `true` | Skip image verification |
|
| `--disable-content-trust` | `bool` | `true` | Skip image verification |
|
||||||
| [`-f`](https://docs.docker.com/reference/cli/docker/buildx/build/#file), [`--file`](https://docs.docker.com/reference/cli/docker/buildx/build/#file) | `string` | | Name of the Dockerfile (Default is `PATH/Dockerfile`) |
|
| [`-f`](https://docs.docker.com/reference/cli/docker/buildx/build/#file), [`--file`](https://docs.docker.com/reference/cli/docker/buildx/build/#file) | `string` | | Name of the Dockerfile (Default is `PATH/Dockerfile`) |
|
||||||
| `--force-rm` | | | Always remove intermediate containers |
|
| `--force-rm` | `bool` | | Always remove intermediate containers |
|
||||||
| `--iidfile` | `string` | | Write the image ID to the file |
|
| `--iidfile` | `string` | | Write the image ID to the file |
|
||||||
| `--isolation` | `string` | | Container isolation technology |
|
| `--isolation` | `string` | | Container isolation technology |
|
||||||
| `--label` | `list` | | Set metadata for an image |
|
| `--label` | `list` | | Set metadata for an image |
|
||||||
| `-m`, `--memory` | `bytes` | `0` | Memory limit |
|
| `-m`, `--memory` | `bytes` | `0` | Memory limit |
|
||||||
| `--memory-swap` | `bytes` | `0` | Swap limit equal to memory plus swap: -1 to enable unlimited swap |
|
| `--memory-swap` | `bytes` | `0` | Swap limit equal to memory plus swap: -1 to enable unlimited swap |
|
||||||
| [`--network`](https://docs.docker.com/reference/cli/docker/buildx/build/#network) | `string` | `default` | Set the networking mode for the RUN instructions during build |
|
| [`--network`](https://docs.docker.com/reference/cli/docker/buildx/build/#network) | `string` | `default` | Set the networking mode for the RUN instructions during build |
|
||||||
| `--no-cache` | | | Do not use cache when building the image |
|
| `--no-cache` | `bool` | | Do not use cache when building the image |
|
||||||
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
||||||
| `--pull` | | | Always attempt to pull a newer version of the image |
|
| `--pull` | `bool` | | Always attempt to pull a newer version of the image |
|
||||||
| `-q`, `--quiet` | | | Suppress the build output and print image ID on success |
|
| `-q`, `--quiet` | `bool` | | Suppress the build output and print image ID on success |
|
||||||
| `--rm` | `bool` | `true` | Remove intermediate containers after a successful build |
|
| `--rm` | `bool` | `true` | Remove intermediate containers after a successful build |
|
||||||
| `--security-opt` | `stringSlice` | | Security options |
|
| `--security-opt` | `stringSlice` | | Security options |
|
||||||
| `--shm-size` | `bytes` | `0` | Size of `/dev/shm` |
|
| `--shm-size` | `bytes` | `0` | Size of `/dev/shm` |
|
||||||
| `--squash` | | | Squash newly built layers into a single new layer |
|
| `--squash` | `bool` | | Squash newly built layers into a single new layer |
|
||||||
| [`-t`](https://docs.docker.com/reference/cli/docker/buildx/build/#tag), [`--tag`](https://docs.docker.com/reference/cli/docker/buildx/build/#tag) | `list` | | Name and optionally a tag in the `name:tag` format |
|
| [`-t`](https://docs.docker.com/reference/cli/docker/buildx/build/#tag), [`--tag`](https://docs.docker.com/reference/cli/docker/buildx/build/#tag) | `list` | | Name and optionally a tag in the `name:tag` format |
|
||||||
| [`--target`](https://docs.docker.com/reference/cli/docker/buildx/build/#target) | `string` | | Set the target build stage to build. |
|
| [`--target`](https://docs.docker.com/reference/cli/docker/buildx/build/#target) | `string` | | Set the target build stage to build. |
|
||||||
| `--ulimit` | `ulimit` | | Ulimit options |
|
| `--ulimit` | `ulimit` | | Ulimit options |
|
||||||
|
|
|
@ -15,7 +15,7 @@ Build an image from a Dockerfile
|
||||||
| [`--build-arg`](https://docs.docker.com/reference/cli/docker/buildx/build/#build-arg) | `list` | | Set build-time variables |
|
| [`--build-arg`](https://docs.docker.com/reference/cli/docker/buildx/build/#build-arg) | `list` | | Set build-time variables |
|
||||||
| `--cache-from` | `stringSlice` | | Images to consider as cache sources |
|
| `--cache-from` | `stringSlice` | | Images to consider as cache sources |
|
||||||
| [`--cgroup-parent`](https://docs.docker.com/reference/cli/docker/buildx/build/#cgroup-parent) | `string` | | Set the parent cgroup for the `RUN` instructions during build |
|
| [`--cgroup-parent`](https://docs.docker.com/reference/cli/docker/buildx/build/#cgroup-parent) | `string` | | Set the parent cgroup for the `RUN` instructions during build |
|
||||||
| `--compress` | | | Compress the build context using gzip |
|
| `--compress` | `bool` | | Compress the build context using gzip |
|
||||||
| `--cpu-period` | `int64` | `0` | Limit the CPU CFS (Completely Fair Scheduler) period |
|
| `--cpu-period` | `int64` | `0` | Limit the CPU CFS (Completely Fair Scheduler) period |
|
||||||
| `--cpu-quota` | `int64` | `0` | Limit the CPU CFS (Completely Fair Scheduler) quota |
|
| `--cpu-quota` | `int64` | `0` | Limit the CPU CFS (Completely Fair Scheduler) quota |
|
||||||
| `-c`, `--cpu-shares` | `int64` | `0` | CPU shares (relative weight) |
|
| `-c`, `--cpu-shares` | `int64` | `0` | CPU shares (relative weight) |
|
||||||
|
@ -23,21 +23,21 @@ Build an image from a Dockerfile
|
||||||
| `--cpuset-mems` | `string` | | MEMs in which to allow execution (0-3, 0,1) |
|
| `--cpuset-mems` | `string` | | MEMs in which to allow execution (0-3, 0,1) |
|
||||||
| `--disable-content-trust` | `bool` | `true` | Skip image verification |
|
| `--disable-content-trust` | `bool` | `true` | Skip image verification |
|
||||||
| [`-f`](https://docs.docker.com/reference/cli/docker/buildx/build/#file), [`--file`](https://docs.docker.com/reference/cli/docker/buildx/build/#file) | `string` | | Name of the Dockerfile (Default is `PATH/Dockerfile`) |
|
| [`-f`](https://docs.docker.com/reference/cli/docker/buildx/build/#file), [`--file`](https://docs.docker.com/reference/cli/docker/buildx/build/#file) | `string` | | Name of the Dockerfile (Default is `PATH/Dockerfile`) |
|
||||||
| `--force-rm` | | | Always remove intermediate containers |
|
| `--force-rm` | `bool` | | Always remove intermediate containers |
|
||||||
| `--iidfile` | `string` | | Write the image ID to the file |
|
| `--iidfile` | `string` | | Write the image ID to the file |
|
||||||
| `--isolation` | `string` | | Container isolation technology |
|
| `--isolation` | `string` | | Container isolation technology |
|
||||||
| `--label` | `list` | | Set metadata for an image |
|
| `--label` | `list` | | Set metadata for an image |
|
||||||
| `-m`, `--memory` | `bytes` | `0` | Memory limit |
|
| `-m`, `--memory` | `bytes` | `0` | Memory limit |
|
||||||
| `--memory-swap` | `bytes` | `0` | Swap limit equal to memory plus swap: -1 to enable unlimited swap |
|
| `--memory-swap` | `bytes` | `0` | Swap limit equal to memory plus swap: -1 to enable unlimited swap |
|
||||||
| [`--network`](https://docs.docker.com/reference/cli/docker/buildx/build/#network) | `string` | `default` | Set the networking mode for the RUN instructions during build |
|
| [`--network`](https://docs.docker.com/reference/cli/docker/buildx/build/#network) | `string` | `default` | Set the networking mode for the RUN instructions during build |
|
||||||
| `--no-cache` | | | Do not use cache when building the image |
|
| `--no-cache` | `bool` | | Do not use cache when building the image |
|
||||||
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
||||||
| `--pull` | | | Always attempt to pull a newer version of the image |
|
| `--pull` | `bool` | | Always attempt to pull a newer version of the image |
|
||||||
| `-q`, `--quiet` | | | Suppress the build output and print image ID on success |
|
| `-q`, `--quiet` | `bool` | | Suppress the build output and print image ID on success |
|
||||||
| `--rm` | `bool` | `true` | Remove intermediate containers after a successful build |
|
| `--rm` | `bool` | `true` | Remove intermediate containers after a successful build |
|
||||||
| `--security-opt` | `stringSlice` | | Security options |
|
| `--security-opt` | `stringSlice` | | Security options |
|
||||||
| `--shm-size` | `bytes` | `0` | Size of `/dev/shm` |
|
| `--shm-size` | `bytes` | `0` | Size of `/dev/shm` |
|
||||||
| `--squash` | | | Squash newly built layers into a single new layer |
|
| `--squash` | `bool` | | Squash newly built layers into a single new layer |
|
||||||
| [`-t`](https://docs.docker.com/reference/cli/docker/buildx/build/#tag), [`--tag`](https://docs.docker.com/reference/cli/docker/buildx/build/#tag) | `list` | | Name and optionally a tag in the `name:tag` format |
|
| [`-t`](https://docs.docker.com/reference/cli/docker/buildx/build/#tag), [`--tag`](https://docs.docker.com/reference/cli/docker/buildx/build/#tag) | `list` | | Name and optionally a tag in the `name:tag` format |
|
||||||
| [`--target`](https://docs.docker.com/reference/cli/docker/buildx/build/#target) | `string` | | Set the target build stage to build. |
|
| [`--target`](https://docs.docker.com/reference/cli/docker/buildx/build/#target) | `string` | | Set the target build stage to build. |
|
||||||
| `--ulimit` | `ulimit` | | Ulimit options |
|
| `--ulimit` | `ulimit` | | Ulimit options |
|
||||||
|
|
|
@ -7,9 +7,9 @@ Remove build cache
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:-----------------|:---------|:--------|:------------------------------------------------------|
|
|:-----------------|:---------|:--------|:------------------------------------------------------|
|
||||||
| `-a`, `--all` | | | Remove all unused build cache, not just dangling ones |
|
| `-a`, `--all` | `bool` | | Remove all unused build cache, not just dangling ones |
|
||||||
| `--filter` | `filter` | | Provide filter values (e.g. `until=24h`) |
|
| `--filter` | `filter` | | Provide filter values (e.g. `until=24h`) |
|
||||||
| `-f`, `--force` | | | Do not prompt for confirmation |
|
| `-f`, `--force` | `bool` | | Do not prompt for confirmation |
|
||||||
| `--keep-storage` | `bytes` | `0` | Amount of disk space to keep for cache |
|
| `--keep-storage` | `bytes` | `0` | Amount of disk space to keep for cache |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ Create a checkpoint from a running container
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:-------------------|:---------|:--------|:---------------------------------------------|
|
|:-------------------|:---------|:--------|:---------------------------------------------|
|
||||||
| `--checkpoint-dir` | `string` | | Use a custom checkpoint storage directory |
|
| `--checkpoint-dir` | `string` | | Use a custom checkpoint storage directory |
|
||||||
| `--leave-running` | | | Leave the container running after checkpoint |
|
| `--leave-running` | `bool` | | Leave the container running after checkpoint |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -8,7 +8,7 @@ Display detailed information on one or more configs
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`-f`](#format), [`--format`](#format) | `string` | | Format output using a custom template:<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`-f`](#format), [`--format`](#format) | `string` | | Format output using a custom template:<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `--pretty` | | | Print the information in a human friendly format |
|
| `--pretty` | `bool` | | Print the information in a human friendly format |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -13,7 +13,7 @@ List configs
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
||||||
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `-q`, `--quiet` | | | Only display IDs |
|
| `-q`, `--quiet` | `bool` | | Only display IDs |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -12,7 +12,7 @@ Attach local standard input, output, and error streams to a running container
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:--------------------------------|:---------|:--------|:----------------------------------------------------|
|
|:--------------------------------|:---------|:--------|:----------------------------------------------------|
|
||||||
| [`--detach-keys`](#detach-keys) | `string` | | Override the key sequence for detaching a container |
|
| [`--detach-keys`](#detach-keys) | `string` | | Override the key sequence for detaching a container |
|
||||||
| `--no-stdin` | | | Do not attach STDIN |
|
| `--no-stdin` | `bool` | | Do not attach STDIN |
|
||||||
| `--sig-proxy` | `bool` | `true` | Proxy all received signals to the process |
|
| `--sig-proxy` | `bool` | `true` | Proxy all received signals to the process |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,10 @@ container source to stdout.
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------------|:-----|:--------|:-------------------------------------------------------------------------------------------------------------|
|
|:----------------------|:-------|:--------|:-------------------------------------------------------------------------------------------------------------|
|
||||||
| `-a`, `--archive` | | | Archive mode (copy all uid/gid information) |
|
| `-a`, `--archive` | `bool` | | Archive mode (copy all uid/gid information) |
|
||||||
| `-L`, `--follow-link` | | | Always follow symbol link in SRC_PATH |
|
| `-L`, `--follow-link` | `bool` | | Always follow symbol link in SRC_PATH |
|
||||||
| `-q`, `--quiet` | | | Suppress progress output during copy. Progress output is automatically suppressed if no terminal is attached |
|
| `-q`, `--quiet` | `bool` | | Suppress progress output during copy. Progress output is automatically suppressed if no terminal is attached |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -54,10 +54,10 @@ Create a new container
|
||||||
| `--health-start-interval` | `duration` | `0s` | Time between running the check during the start period (ms\|s\|m\|h) (default 0s) |
|
| `--health-start-interval` | `duration` | `0s` | Time between running the check during the start period (ms\|s\|m\|h) (default 0s) |
|
||||||
| `--health-start-period` | `duration` | `0s` | Start period for the container to initialize before starting health-retries countdown (ms\|s\|m\|h) (default 0s) |
|
| `--health-start-period` | `duration` | `0s` | Start period for the container to initialize before starting health-retries countdown (ms\|s\|m\|h) (default 0s) |
|
||||||
| `--health-timeout` | `duration` | `0s` | Maximum time to allow one check to run (ms\|s\|m\|h) (default 0s) |
|
| `--health-timeout` | `duration` | `0s` | Maximum time to allow one check to run (ms\|s\|m\|h) (default 0s) |
|
||||||
| `--help` | | | Print usage |
|
| `--help` | `bool` | | Print usage |
|
||||||
| `-h`, `--hostname` | `string` | | Container host name |
|
| `-h`, `--hostname` | `string` | | Container host name |
|
||||||
| `--init` | | | Run an init inside the container that forwards signals and reaps processes |
|
| `--init` | `bool` | | Run an init inside the container that forwards signals and reaps processes |
|
||||||
| `-i`, `--interactive` | | | Keep STDIN open even if not attached |
|
| `-i`, `--interactive` | `bool` | | Keep STDIN open even if not attached |
|
||||||
| `--io-maxbandwidth` | `bytes` | `0` | Maximum IO bandwidth limit for the system drive (Windows only) |
|
| `--io-maxbandwidth` | `bytes` | `0` | Maximum IO bandwidth limit for the system drive (Windows only) |
|
||||||
| `--io-maxiops` | `uint64` | `0` | Maximum IOps limit for the system drive (Windows only) |
|
| `--io-maxiops` | `uint64` | `0` | Maximum IOps limit for the system drive (Windows only) |
|
||||||
| `--ip` | `string` | | IPv4 address (e.g., 172.30.100.104) |
|
| `--ip` | `string` | | IPv4 address (e.g., 172.30.100.104) |
|
||||||
|
@ -80,20 +80,20 @@ Create a new container
|
||||||
| `--name` | `string` | | Assign a name to the container |
|
| `--name` | `string` | | Assign a name to the container |
|
||||||
| `--network` | `network` | | Connect a container to a network |
|
| `--network` | `network` | | Connect a container to a network |
|
||||||
| `--network-alias` | `list` | | Add network-scoped alias for the container |
|
| `--network-alias` | `list` | | Add network-scoped alias for the container |
|
||||||
| `--no-healthcheck` | | | Disable any container-specified HEALTHCHECK |
|
| `--no-healthcheck` | `bool` | | Disable any container-specified HEALTHCHECK |
|
||||||
| `--oom-kill-disable` | | | Disable OOM Killer |
|
| `--oom-kill-disable` | `bool` | | Disable OOM Killer |
|
||||||
| `--oom-score-adj` | `int` | `0` | Tune host's OOM preferences (-1000 to 1000) |
|
| `--oom-score-adj` | `int` | `0` | Tune host's OOM preferences (-1000 to 1000) |
|
||||||
| `--pid` | `string` | | PID namespace to use |
|
| `--pid` | `string` | | PID namespace to use |
|
||||||
| `--pids-limit` | `int64` | `0` | Tune container pids limit (set -1 for unlimited) |
|
| `--pids-limit` | `int64` | `0` | Tune container pids limit (set -1 for unlimited) |
|
||||||
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
||||||
| `--privileged` | | | Give extended privileges to this container |
|
| `--privileged` | `bool` | | Give extended privileges to this container |
|
||||||
| `-p`, `--publish` | `list` | | Publish a container's port(s) to the host |
|
| `-p`, `--publish` | `list` | | Publish a container's port(s) to the host |
|
||||||
| `-P`, `--publish-all` | | | Publish all exposed ports to random ports |
|
| `-P`, `--publish-all` | `bool` | | Publish all exposed ports to random ports |
|
||||||
| `--pull` | `string` | `missing` | Pull image before creating (`always`, `\|missing`, `never`) |
|
| `--pull` | `string` | `missing` | Pull image before creating (`always`, `\|missing`, `never`) |
|
||||||
| `-q`, `--quiet` | | | Suppress the pull output |
|
| `-q`, `--quiet` | `bool` | | Suppress the pull output |
|
||||||
| `--read-only` | | | Mount the container's root filesystem as read only |
|
| `--read-only` | `bool` | | Mount the container's root filesystem as read only |
|
||||||
| `--restart` | `string` | `no` | Restart policy to apply when a container exits |
|
| `--restart` | `string` | `no` | Restart policy to apply when a container exits |
|
||||||
| `--rm` | | | Automatically remove the container and its associated anonymous volumes when it exits |
|
| `--rm` | `bool` | | Automatically remove the container and its associated anonymous volumes when it exits |
|
||||||
| `--runtime` | `string` | | Runtime to use for this container |
|
| `--runtime` | `string` | | Runtime to use for this container |
|
||||||
| `--security-opt` | `list` | | Security Options |
|
| `--security-opt` | `list` | | Security Options |
|
||||||
| `--shm-size` | `bytes` | `0` | Size of /dev/shm |
|
| `--shm-size` | `bytes` | `0` | Size of /dev/shm |
|
||||||
|
@ -102,7 +102,7 @@ Create a new container
|
||||||
| `--storage-opt` | `list` | | Storage driver options for the container |
|
| `--storage-opt` | `list` | | Storage driver options for the container |
|
||||||
| `--sysctl` | `map` | `map[]` | Sysctl options |
|
| `--sysctl` | `map` | `map[]` | Sysctl options |
|
||||||
| `--tmpfs` | `list` | | Mount a tmpfs directory |
|
| `--tmpfs` | `list` | | Mount a tmpfs directory |
|
||||||
| `-t`, `--tty` | | | Allocate a pseudo-TTY |
|
| `-t`, `--tty` | `bool` | | Allocate a pseudo-TTY |
|
||||||
| `--ulimit` | `ulimit` | | Ulimit options |
|
| `--ulimit` | `ulimit` | | Ulimit options |
|
||||||
| `-u`, `--user` | `string` | | Username or UID (format: <name\|uid>[:<group\|gid>]) |
|
| `-u`, `--user` | `string` | | Username or UID (format: <name\|uid>[:<group\|gid>]) |
|
||||||
| `--userns` | `string` | | User namespace to use |
|
| `--userns` | `string` | | User namespace to use |
|
||||||
|
|
|
@ -11,13 +11,13 @@ Execute a command in a running container
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:------------------------------------------|:---------|:--------|:-------------------------------------------------------|
|
|:------------------------------------------|:---------|:--------|:-------------------------------------------------------|
|
||||||
| `-d`, `--detach` | | | Detached mode: run command in the background |
|
| `-d`, `--detach` | `bool` | | Detached mode: run command in the background |
|
||||||
| `--detach-keys` | `string` | | Override the key sequence for detaching a container |
|
| `--detach-keys` | `string` | | Override the key sequence for detaching a container |
|
||||||
| [`-e`](#env), [`--env`](#env) | `list` | | Set environment variables |
|
| [`-e`](#env), [`--env`](#env) | `list` | | Set environment variables |
|
||||||
| `--env-file` | `list` | | Read in a file of environment variables |
|
| `--env-file` | `list` | | Read in a file of environment variables |
|
||||||
| `-i`, `--interactive` | | | Keep STDIN open even if not attached |
|
| `-i`, `--interactive` | `bool` | | Keep STDIN open even if not attached |
|
||||||
| [`--privileged`](#privileged) | | | Give extended privileges to the command |
|
| [`--privileged`](#privileged) | `bool` | | Give extended privileges to the command |
|
||||||
| `-t`, `--tty` | | | Allocate a pseudo-TTY |
|
| `-t`, `--tty` | `bool` | | Allocate a pseudo-TTY |
|
||||||
| `-u`, `--user` | `string` | | Username or UID (format: `<name\|uid>[:<group\|gid>]`) |
|
| `-u`, `--user` | `string` | | Username or UID (format: `<name\|uid>[:<group\|gid>]`) |
|
||||||
| [`-w`](#workdir), [`--workdir`](#workdir) | `string` | | Working directory inside the container |
|
| [`-w`](#workdir), [`--workdir`](#workdir) | `string` | | Working directory inside the container |
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ Display detailed information on one or more containers
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:-----------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:-----------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `-f`, `--format` | `string` | | Format output using a custom template:<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| `-f`, `--format` | `string` | | Format output using a custom template:<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `-s`, `--size` | | | Display total file sizes |
|
| `-s`, `--size` | `bool` | | Display total file sizes |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -11,11 +11,11 @@ Fetch the logs of a container
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:---------------------|:---------|:--------|:---------------------------------------------------------------------------------------------------|
|
|:---------------------|:---------|:--------|:---------------------------------------------------------------------------------------------------|
|
||||||
| `--details` | | | Show extra details provided to logs |
|
| `--details` | `bool` | | Show extra details provided to logs |
|
||||||
| `-f`, `--follow` | | | Follow log output |
|
| `-f`, `--follow` | `bool` | | Follow log output |
|
||||||
| `--since` | `string` | | Show logs since timestamp (e.g. `2013-01-02T13:23:37Z`) or relative (e.g. `42m` for 42 minutes) |
|
| `--since` | `string` | | Show logs since timestamp (e.g. `2013-01-02T13:23:37Z`) or relative (e.g. `42m` for 42 minutes) |
|
||||||
| `-n`, `--tail` | `string` | `all` | Number of lines to show from the end of the logs |
|
| `-n`, `--tail` | `string` | `all` | Number of lines to show from the end of the logs |
|
||||||
| `-t`, `--timestamps` | | | Show timestamps |
|
| `-t`, `--timestamps` | `bool` | | Show timestamps |
|
||||||
| [`--until`](#until) | `string` | | Show logs before a timestamp (e.g. `2013-01-02T13:23:37Z`) or relative (e.g. `42m` for 42 minutes) |
|
| [`--until`](#until) | `string` | | Show logs before a timestamp (e.g. `2013-01-02T13:23:37Z`) or relative (e.g. `42m` for 42 minutes) |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,14 +11,14 @@ List containers
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`-a`](#all), [`--all`](#all) | | | Show all containers (default shows just running) |
|
| [`-a`](#all), [`--all`](#all) | `bool` | | Show all containers (default shows just running) |
|
||||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
||||||
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `-n`, `--last` | `int` | `-1` | Show n last created containers (includes all states) |
|
| `-n`, `--last` | `int` | `-1` | Show n last created containers (includes all states) |
|
||||||
| `-l`, `--latest` | | | Show the latest created container (includes all states) |
|
| `-l`, `--latest` | `bool` | | Show the latest created container (includes all states) |
|
||||||
| [`--no-trunc`](#no-trunc) | | | Don't truncate output |
|
| [`--no-trunc`](#no-trunc) | `bool` | | Don't truncate output |
|
||||||
| `-q`, `--quiet` | | | Only display container IDs |
|
| `-q`, `--quiet` | `bool` | | Only display container IDs |
|
||||||
| [`-s`](#size), [`--size`](#size) | | | Display total file sizes |
|
| [`-s`](#size), [`--size`](#size) | `bool` | | Display total file sizes |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -8,7 +8,7 @@ Remove all stopped containers
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------------|:---------|:--------|:-------------------------------------------------|
|
|:----------------------|:---------|:--------|:-------------------------------------------------|
|
||||||
| [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `until=<timestamp>`) |
|
| [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `until=<timestamp>`) |
|
||||||
| `-f`, `--force` | | | Do not prompt for confirmation |
|
| `-f`, `--force` | `bool` | | Do not prompt for confirmation |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -10,10 +10,10 @@ Remove one or more containers
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:------------------------------------------|:-----|:--------|:--------------------------------------------------------|
|
|:------------------------------------------|:-------|:--------|:--------------------------------------------------------|
|
||||||
| [`-f`](#force), [`--force`](#force) | | | Force the removal of a running container (uses SIGKILL) |
|
| [`-f`](#force), [`--force`](#force) | `bool` | | Force the removal of a running container (uses SIGKILL) |
|
||||||
| [`-l`](#link), [`--link`](#link) | | | Remove the specified link |
|
| [`-l`](#link), [`--link`](#link) | `bool` | | Remove the specified link |
|
||||||
| [`-v`](#volumes), [`--volumes`](#volumes) | | | Remove anonymous volumes associated with the container |
|
| [`-v`](#volumes), [`--volumes`](#volumes) | `bool` | | Remove anonymous volumes associated with the container |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -31,7 +31,7 @@ Create and run a new container from an image
|
||||||
| `--cpus` | `decimal` | | Number of CPUs |
|
| `--cpus` | `decimal` | | Number of CPUs |
|
||||||
| `--cpuset-cpus` | `string` | | CPUs in which to allow execution (0-3, 0,1) |
|
| `--cpuset-cpus` | `string` | | CPUs in which to allow execution (0-3, 0,1) |
|
||||||
| `--cpuset-mems` | `string` | | MEMs in which to allow execution (0-3, 0,1) |
|
| `--cpuset-mems` | `string` | | MEMs in which to allow execution (0-3, 0,1) |
|
||||||
| [`-d`](#detach), [`--detach`](#detach) | | | Run container in background and print container ID |
|
| [`-d`](#detach), [`--detach`](#detach) | `bool` | | Run container in background and print container ID |
|
||||||
| [`--detach-keys`](#detach-keys) | `string` | | Override the key sequence for detaching a container |
|
| [`--detach-keys`](#detach-keys) | `string` | | Override the key sequence for detaching a container |
|
||||||
| [`--device`](#device) | `list` | | Add a host device to the container |
|
| [`--device`](#device) | `list` | | Add a host device to the container |
|
||||||
| [`--device-cgroup-rule`](#device-cgroup-rule) | `list` | | Add a rule to the cgroup allowed devices list |
|
| [`--device-cgroup-rule`](#device-cgroup-rule) | `list` | | Add a rule to the cgroup allowed devices list |
|
||||||
|
@ -56,10 +56,10 @@ Create and run a new container from an image
|
||||||
| `--health-start-interval` | `duration` | `0s` | Time between running the check during the start period (ms\|s\|m\|h) (default 0s) |
|
| `--health-start-interval` | `duration` | `0s` | Time between running the check during the start period (ms\|s\|m\|h) (default 0s) |
|
||||||
| `--health-start-period` | `duration` | `0s` | Start period for the container to initialize before starting health-retries countdown (ms\|s\|m\|h) (default 0s) |
|
| `--health-start-period` | `duration` | `0s` | Start period for the container to initialize before starting health-retries countdown (ms\|s\|m\|h) (default 0s) |
|
||||||
| `--health-timeout` | `duration` | `0s` | Maximum time to allow one check to run (ms\|s\|m\|h) (default 0s) |
|
| `--health-timeout` | `duration` | `0s` | Maximum time to allow one check to run (ms\|s\|m\|h) (default 0s) |
|
||||||
| `--help` | | | Print usage |
|
| `--help` | `bool` | | Print usage |
|
||||||
| `-h`, `--hostname` | `string` | | Container host name |
|
| `-h`, `--hostname` | `string` | | Container host name |
|
||||||
| [`--init`](#init) | | | Run an init inside the container that forwards signals and reaps processes |
|
| [`--init`](#init) | `bool` | | Run an init inside the container that forwards signals and reaps processes |
|
||||||
| [`-i`](#interactive), [`--interactive`](#interactive) | | | Keep STDIN open even if not attached |
|
| [`-i`](#interactive), [`--interactive`](#interactive) | `bool` | | Keep STDIN open even if not attached |
|
||||||
| `--io-maxbandwidth` | `bytes` | `0` | Maximum IO bandwidth limit for the system drive (Windows only) |
|
| `--io-maxbandwidth` | `bytes` | `0` | Maximum IO bandwidth limit for the system drive (Windows only) |
|
||||||
| `--io-maxiops` | `uint64` | `0` | Maximum IOps limit for the system drive (Windows only) |
|
| `--io-maxiops` | `uint64` | `0` | Maximum IOps limit for the system drive (Windows only) |
|
||||||
| `--ip` | `string` | | IPv4 address (e.g., 172.30.100.104) |
|
| `--ip` | `string` | | IPv4 address (e.g., 172.30.100.104) |
|
||||||
|
@ -82,20 +82,20 @@ Create and run a new container from an image
|
||||||
| [`--name`](#name) | `string` | | Assign a name to the container |
|
| [`--name`](#name) | `string` | | Assign a name to the container |
|
||||||
| [`--network`](#network) | `network` | | Connect a container to a network |
|
| [`--network`](#network) | `network` | | Connect a container to a network |
|
||||||
| `--network-alias` | `list` | | Add network-scoped alias for the container |
|
| `--network-alias` | `list` | | Add network-scoped alias for the container |
|
||||||
| `--no-healthcheck` | | | Disable any container-specified HEALTHCHECK |
|
| `--no-healthcheck` | `bool` | | Disable any container-specified HEALTHCHECK |
|
||||||
| `--oom-kill-disable` | | | Disable OOM Killer |
|
| `--oom-kill-disable` | `bool` | | Disable OOM Killer |
|
||||||
| `--oom-score-adj` | `int` | `0` | Tune host's OOM preferences (-1000 to 1000) |
|
| `--oom-score-adj` | `int` | `0` | Tune host's OOM preferences (-1000 to 1000) |
|
||||||
| [`--pid`](#pid) | `string` | | PID namespace to use |
|
| [`--pid`](#pid) | `string` | | PID namespace to use |
|
||||||
| `--pids-limit` | `int64` | `0` | Tune container pids limit (set -1 for unlimited) |
|
| `--pids-limit` | `int64` | `0` | Tune container pids limit (set -1 for unlimited) |
|
||||||
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
||||||
| [`--privileged`](#privileged) | | | Give extended privileges to this container |
|
| [`--privileged`](#privileged) | `bool` | | Give extended privileges to this container |
|
||||||
| [`-p`](#publish), [`--publish`](#publish) | `list` | | Publish a container's port(s) to the host |
|
| [`-p`](#publish), [`--publish`](#publish) | `list` | | Publish a container's port(s) to the host |
|
||||||
| [`-P`](#publish-all), [`--publish-all`](#publish-all) | | | Publish all exposed ports to random ports |
|
| [`-P`](#publish-all), [`--publish-all`](#publish-all) | `bool` | | Publish all exposed ports to random ports |
|
||||||
| [`--pull`](#pull) | `string` | `missing` | Pull image before running (`always`, `missing`, `never`) |
|
| [`--pull`](#pull) | `string` | `missing` | Pull image before running (`always`, `missing`, `never`) |
|
||||||
| `-q`, `--quiet` | | | Suppress the pull output |
|
| `-q`, `--quiet` | `bool` | | Suppress the pull output |
|
||||||
| [`--read-only`](#read-only) | | | Mount the container's root filesystem as read only |
|
| [`--read-only`](#read-only) | `bool` | | Mount the container's root filesystem as read only |
|
||||||
| [`--restart`](#restart) | `string` | `no` | Restart policy to apply when a container exits |
|
| [`--restart`](#restart) | `string` | `no` | Restart policy to apply when a container exits |
|
||||||
| [`--rm`](#rm) | | | Automatically remove the container and its associated anonymous volumes when it exits |
|
| [`--rm`](#rm) | `bool` | | Automatically remove the container and its associated anonymous volumes when it exits |
|
||||||
| `--runtime` | `string` | | Runtime to use for this container |
|
| `--runtime` | `string` | | Runtime to use for this container |
|
||||||
| [`--security-opt`](#security-opt) | `list` | | Security Options |
|
| [`--security-opt`](#security-opt) | `list` | | Security Options |
|
||||||
| `--shm-size` | `bytes` | `0` | Size of /dev/shm |
|
| `--shm-size` | `bytes` | `0` | Size of /dev/shm |
|
||||||
|
@ -105,7 +105,7 @@ Create and run a new container from an image
|
||||||
| [`--storage-opt`](#storage-opt) | `list` | | Storage driver options for the container |
|
| [`--storage-opt`](#storage-opt) | `list` | | Storage driver options for the container |
|
||||||
| [`--sysctl`](#sysctl) | `map` | `map[]` | Sysctl options |
|
| [`--sysctl`](#sysctl) | `map` | `map[]` | Sysctl options |
|
||||||
| [`--tmpfs`](#tmpfs) | `list` | | Mount a tmpfs directory |
|
| [`--tmpfs`](#tmpfs) | `list` | | Mount a tmpfs directory |
|
||||||
| [`-t`](#tty), [`--tty`](#tty) | | | Allocate a pseudo-TTY |
|
| [`-t`](#tty), [`--tty`](#tty) | `bool` | | Allocate a pseudo-TTY |
|
||||||
| [`--ulimit`](#ulimit) | `ulimit` | | Ulimit options |
|
| [`--ulimit`](#ulimit) | `ulimit` | | Ulimit options |
|
||||||
| `-u`, `--user` | `string` | | Username or UID (format: <name\|uid>[:<group\|gid>]) |
|
| `-u`, `--user` | `string` | | Username or UID (format: <name\|uid>[:<group\|gid>]) |
|
||||||
| [`--userns`](#userns) | `string` | | User namespace to use |
|
| [`--userns`](#userns) | `string` | | User namespace to use |
|
||||||
|
|
|
@ -11,11 +11,11 @@ Start one or more stopped containers
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------------|:---------|:--------|:----------------------------------------------------|
|
|:----------------------|:---------|:--------|:----------------------------------------------------|
|
||||||
| `-a`, `--attach` | | | Attach STDOUT/STDERR and forward signals |
|
| `-a`, `--attach` | `bool` | | Attach STDOUT/STDERR and forward signals |
|
||||||
| `--checkpoint` | `string` | | Restore from this checkpoint |
|
| `--checkpoint` | `string` | | Restore from this checkpoint |
|
||||||
| `--checkpoint-dir` | `string` | | Use a custom checkpoint storage directory |
|
| `--checkpoint-dir` | `string` | | Use a custom checkpoint storage directory |
|
||||||
| `--detach-keys` | `string` | | Override the key sequence for detaching a container |
|
| `--detach-keys` | `string` | | Override the key sequence for detaching a container |
|
||||||
| `-i`, `--interactive` | | | Attach container's STDIN |
|
| `-i`, `--interactive` | `bool` | | Attach container's STDIN |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -11,10 +11,10 @@ Display a live stream of container(s) resource usage statistics
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:----------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `-a`, `--all` | | | Show all containers (default shows just running) |
|
| `-a`, `--all` | `bool` | | Show all containers (default shows just running) |
|
||||||
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `--no-stream` | | | Disable streaming stats and only pull the first result |
|
| `--no-stream` | `bool` | | Disable streaming stats and only pull the first result |
|
||||||
| `--no-trunc` | | | Do not truncate output |
|
| `--no-trunc` | `bool` | | Do not truncate output |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -12,7 +12,7 @@ List contexts
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:----------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `--format` | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| `--format` | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `-q`, `--quiet` | | | Only show context names |
|
| `-q`, `--quiet` | `bool` | | Only show context names |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -10,8 +10,8 @@ Remove one or more contexts
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:-----|:--------|:--------------------------------------|
|
|:----------------|:-------|:--------|:--------------------------------------|
|
||||||
| `-f`, `--force` | | | Force the removal of a context in use |
|
| `-f`, `--force` | `bool` | | Force the removal of a context in use |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -15,10 +15,10 @@ container source to stdout.
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------------|:-----|:--------|:-------------------------------------------------------------------------------------------------------------|
|
|:----------------------|:-------|:--------|:-------------------------------------------------------------------------------------------------------------|
|
||||||
| `-a`, `--archive` | | | Archive mode (copy all uid/gid information) |
|
| `-a`, `--archive` | `bool` | | Archive mode (copy all uid/gid information) |
|
||||||
| `-L`, `--follow-link` | | | Always follow symbol link in SRC_PATH |
|
| `-L`, `--follow-link` | `bool` | | Always follow symbol link in SRC_PATH |
|
||||||
| `-q`, `--quiet` | | | Suppress progress output during copy. Progress output is automatically suppressed if no terminal is attached |
|
| `-q`, `--quiet` | `bool` | | Suppress progress output during copy. Progress output is automatically suppressed if no terminal is attached |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -54,10 +54,10 @@ Create a new container
|
||||||
| `--health-start-interval` | `duration` | `0s` | Time between running the check during the start period (ms\|s\|m\|h) (default 0s) |
|
| `--health-start-interval` | `duration` | `0s` | Time between running the check during the start period (ms\|s\|m\|h) (default 0s) |
|
||||||
| `--health-start-period` | `duration` | `0s` | Start period for the container to initialize before starting health-retries countdown (ms\|s\|m\|h) (default 0s) |
|
| `--health-start-period` | `duration` | `0s` | Start period for the container to initialize before starting health-retries countdown (ms\|s\|m\|h) (default 0s) |
|
||||||
| `--health-timeout` | `duration` | `0s` | Maximum time to allow one check to run (ms\|s\|m\|h) (default 0s) |
|
| `--health-timeout` | `duration` | `0s` | Maximum time to allow one check to run (ms\|s\|m\|h) (default 0s) |
|
||||||
| `--help` | | | Print usage |
|
| `--help` | `bool` | | Print usage |
|
||||||
| `-h`, `--hostname` | `string` | | Container host name |
|
| `-h`, `--hostname` | `string` | | Container host name |
|
||||||
| `--init` | | | Run an init inside the container that forwards signals and reaps processes |
|
| `--init` | `bool` | | Run an init inside the container that forwards signals and reaps processes |
|
||||||
| `-i`, `--interactive` | | | Keep STDIN open even if not attached |
|
| `-i`, `--interactive` | `bool` | | Keep STDIN open even if not attached |
|
||||||
| `--io-maxbandwidth` | `bytes` | `0` | Maximum IO bandwidth limit for the system drive (Windows only) |
|
| `--io-maxbandwidth` | `bytes` | `0` | Maximum IO bandwidth limit for the system drive (Windows only) |
|
||||||
| `--io-maxiops` | `uint64` | `0` | Maximum IOps limit for the system drive (Windows only) |
|
| `--io-maxiops` | `uint64` | `0` | Maximum IOps limit for the system drive (Windows only) |
|
||||||
| `--ip` | `string` | | IPv4 address (e.g., 172.30.100.104) |
|
| `--ip` | `string` | | IPv4 address (e.g., 172.30.100.104) |
|
||||||
|
@ -80,20 +80,20 @@ Create a new container
|
||||||
| `--name` | `string` | | Assign a name to the container |
|
| `--name` | `string` | | Assign a name to the container |
|
||||||
| `--network` | `network` | | Connect a container to a network |
|
| `--network` | `network` | | Connect a container to a network |
|
||||||
| `--network-alias` | `list` | | Add network-scoped alias for the container |
|
| `--network-alias` | `list` | | Add network-scoped alias for the container |
|
||||||
| `--no-healthcheck` | | | Disable any container-specified HEALTHCHECK |
|
| `--no-healthcheck` | `bool` | | Disable any container-specified HEALTHCHECK |
|
||||||
| `--oom-kill-disable` | | | Disable OOM Killer |
|
| `--oom-kill-disable` | `bool` | | Disable OOM Killer |
|
||||||
| `--oom-score-adj` | `int` | `0` | Tune host's OOM preferences (-1000 to 1000) |
|
| `--oom-score-adj` | `int` | `0` | Tune host's OOM preferences (-1000 to 1000) |
|
||||||
| `--pid` | `string` | | PID namespace to use |
|
| `--pid` | `string` | | PID namespace to use |
|
||||||
| `--pids-limit` | `int64` | `0` | Tune container pids limit (set -1 for unlimited) |
|
| `--pids-limit` | `int64` | `0` | Tune container pids limit (set -1 for unlimited) |
|
||||||
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
||||||
| `--privileged` | | | Give extended privileges to this container |
|
| `--privileged` | `bool` | | Give extended privileges to this container |
|
||||||
| `-p`, `--publish` | `list` | | Publish a container's port(s) to the host |
|
| `-p`, `--publish` | `list` | | Publish a container's port(s) to the host |
|
||||||
| `-P`, `--publish-all` | | | Publish all exposed ports to random ports |
|
| `-P`, `--publish-all` | `bool` | | Publish all exposed ports to random ports |
|
||||||
| `--pull` | `string` | `missing` | Pull image before creating (`always`, `\|missing`, `never`) |
|
| `--pull` | `string` | `missing` | Pull image before creating (`always`, `\|missing`, `never`) |
|
||||||
| `-q`, `--quiet` | | | Suppress the pull output |
|
| `-q`, `--quiet` | `bool` | | Suppress the pull output |
|
||||||
| `--read-only` | | | Mount the container's root filesystem as read only |
|
| `--read-only` | `bool` | | Mount the container's root filesystem as read only |
|
||||||
| `--restart` | `string` | `no` | Restart policy to apply when a container exits |
|
| `--restart` | `string` | `no` | Restart policy to apply when a container exits |
|
||||||
| `--rm` | | | Automatically remove the container and its associated anonymous volumes when it exits |
|
| `--rm` | `bool` | | Automatically remove the container and its associated anonymous volumes when it exits |
|
||||||
| `--runtime` | `string` | | Runtime to use for this container |
|
| `--runtime` | `string` | | Runtime to use for this container |
|
||||||
| `--security-opt` | `list` | | Security Options |
|
| `--security-opt` | `list` | | Security Options |
|
||||||
| `--shm-size` | `bytes` | `0` | Size of /dev/shm |
|
| `--shm-size` | `bytes` | `0` | Size of /dev/shm |
|
||||||
|
@ -102,7 +102,7 @@ Create a new container
|
||||||
| `--storage-opt` | `list` | | Storage driver options for the container |
|
| `--storage-opt` | `list` | | Storage driver options for the container |
|
||||||
| `--sysctl` | `map` | `map[]` | Sysctl options |
|
| `--sysctl` | `map` | `map[]` | Sysctl options |
|
||||||
| `--tmpfs` | `list` | | Mount a tmpfs directory |
|
| `--tmpfs` | `list` | | Mount a tmpfs directory |
|
||||||
| `-t`, `--tty` | | | Allocate a pseudo-TTY |
|
| `-t`, `--tty` | `bool` | | Allocate a pseudo-TTY |
|
||||||
| `--ulimit` | `ulimit` | | Ulimit options |
|
| `--ulimit` | `ulimit` | | Ulimit options |
|
||||||
| `-u`, `--user` | `string` | | Username or UID (format: <name\|uid>[:<group\|gid>]) |
|
| `-u`, `--user` | `string` | | Username or UID (format: <name\|uid>[:<group\|gid>]) |
|
||||||
| `--userns` | `string` | | User namespace to use |
|
| `--userns` | `string` | | User namespace to use |
|
||||||
|
|
|
@ -72,14 +72,14 @@ The base command for the Docker CLI.
|
||||||
|:---------------------------------|:---------|:-------------------------|:--------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------|:---------|:-------------------------|:--------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `--config` | `string` | `/root/.docker` | Location of client config files |
|
| `--config` | `string` | `/root/.docker` | Location of client config files |
|
||||||
| `-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`) |
|
| `-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 |
|
| `-D`, `--debug` | `bool` | | Enable debug mode |
|
||||||
| [`-H`](#host), [`--host`](#host) | `list` | | Daemon socket to connect to |
|
| [`-H`](#host), [`--host`](#host) | `list` | | Daemon socket to connect to |
|
||||||
| `-l`, `--log-level` | `string` | `info` | Set the logging level (`debug`, `info`, `warn`, `error`, `fatal`) |
|
| `-l`, `--log-level` | `string` | `info` | Set the logging level (`debug`, `info`, `warn`, `error`, `fatal`) |
|
||||||
| `--tls` | | | Use TLS; implied by --tlsverify |
|
| `--tls` | `bool` | | Use TLS; implied by --tlsverify |
|
||||||
| `--tlscacert` | `string` | `/root/.docker/ca.pem` | Trust certs signed only by this CA |
|
| `--tlscacert` | `string` | `/root/.docker/ca.pem` | Trust certs signed only by this CA |
|
||||||
| `--tlscert` | `string` | `/root/.docker/cert.pem` | Path to TLS certificate file |
|
| `--tlscert` | `string` | `/root/.docker/cert.pem` | Path to TLS certificate file |
|
||||||
| `--tlskey` | `string` | `/root/.docker/key.pem` | Path to TLS key file |
|
| `--tlskey` | `string` | `/root/.docker/key.pem` | Path to TLS key file |
|
||||||
| `--tlsverify` | | | Use TLS and verify the remote |
|
| `--tlsverify` | `bool` | | Use TLS and verify the remote |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -11,13 +11,13 @@ Execute a command in a running container
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------------|:---------|:--------|:-------------------------------------------------------|
|
|:----------------------|:---------|:--------|:-------------------------------------------------------|
|
||||||
| `-d`, `--detach` | | | Detached mode: run command in the background |
|
| `-d`, `--detach` | `bool` | | Detached mode: run command in the background |
|
||||||
| `--detach-keys` | `string` | | Override the key sequence for detaching a container |
|
| `--detach-keys` | `string` | | Override the key sequence for detaching a container |
|
||||||
| `-e`, `--env` | `list` | | Set environment variables |
|
| `-e`, `--env` | `list` | | Set environment variables |
|
||||||
| `--env-file` | `list` | | Read in a file of environment variables |
|
| `--env-file` | `list` | | Read in a file of environment variables |
|
||||||
| `-i`, `--interactive` | | | Keep STDIN open even if not attached |
|
| `-i`, `--interactive` | `bool` | | Keep STDIN open even if not attached |
|
||||||
| `--privileged` | | | Give extended privileges to the command |
|
| `--privileged` | `bool` | | Give extended privileges to the command |
|
||||||
| `-t`, `--tty` | | | Allocate a pseudo-TTY |
|
| `-t`, `--tty` | `bool` | | Allocate a pseudo-TTY |
|
||||||
| `-u`, `--user` | `string` | | Username or UID (format: `<name\|uid>[:<group\|gid>]`) |
|
| `-u`, `--user` | `string` | | Username or UID (format: `<name\|uid>[:<group\|gid>]`) |
|
||||||
| `-w`, `--workdir` | `string` | | Working directory inside the container |
|
| `-w`, `--workdir` | `string` | | Working directory inside the container |
|
||||||
|
|
||||||
|
|
|
@ -13,8 +13,8 @@ Show the history of an image
|
||||||
|:----------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:----------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `--format` | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| `--format` | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `-H`, `--human` | `bool` | `true` | Print sizes and dates in human readable format |
|
| `-H`, `--human` | `bool` | `true` | Print sizes and dates in human readable format |
|
||||||
| `--no-trunc` | | | Don't truncate output |
|
| `--no-trunc` | `bool` | | Don't truncate output |
|
||||||
| `-q`, `--quiet` | | | Only show image IDs |
|
| `-q`, `--quiet` | `bool` | | Only show image IDs |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -15,7 +15,7 @@ Build an image from a Dockerfile
|
||||||
| [`--build-arg`](https://docs.docker.com/reference/cli/docker/buildx/build/#build-arg) | `list` | | Set build-time variables |
|
| [`--build-arg`](https://docs.docker.com/reference/cli/docker/buildx/build/#build-arg) | `list` | | Set build-time variables |
|
||||||
| `--cache-from` | `stringSlice` | | Images to consider as cache sources |
|
| `--cache-from` | `stringSlice` | | Images to consider as cache sources |
|
||||||
| [`--cgroup-parent`](https://docs.docker.com/reference/cli/docker/buildx/build/#cgroup-parent) | `string` | | Set the parent cgroup for the `RUN` instructions during build |
|
| [`--cgroup-parent`](https://docs.docker.com/reference/cli/docker/buildx/build/#cgroup-parent) | `string` | | Set the parent cgroup for the `RUN` instructions during build |
|
||||||
| `--compress` | | | Compress the build context using gzip |
|
| `--compress` | `bool` | | Compress the build context using gzip |
|
||||||
| `--cpu-period` | `int64` | `0` | Limit the CPU CFS (Completely Fair Scheduler) period |
|
| `--cpu-period` | `int64` | `0` | Limit the CPU CFS (Completely Fair Scheduler) period |
|
||||||
| `--cpu-quota` | `int64` | `0` | Limit the CPU CFS (Completely Fair Scheduler) quota |
|
| `--cpu-quota` | `int64` | `0` | Limit the CPU CFS (Completely Fair Scheduler) quota |
|
||||||
| `-c`, `--cpu-shares` | `int64` | `0` | CPU shares (relative weight) |
|
| `-c`, `--cpu-shares` | `int64` | `0` | CPU shares (relative weight) |
|
||||||
|
@ -23,21 +23,21 @@ Build an image from a Dockerfile
|
||||||
| `--cpuset-mems` | `string` | | MEMs in which to allow execution (0-3, 0,1) |
|
| `--cpuset-mems` | `string` | | MEMs in which to allow execution (0-3, 0,1) |
|
||||||
| `--disable-content-trust` | `bool` | `true` | Skip image verification |
|
| `--disable-content-trust` | `bool` | `true` | Skip image verification |
|
||||||
| [`-f`](https://docs.docker.com/reference/cli/docker/buildx/build/#file), [`--file`](https://docs.docker.com/reference/cli/docker/buildx/build/#file) | `string` | | Name of the Dockerfile (Default is `PATH/Dockerfile`) |
|
| [`-f`](https://docs.docker.com/reference/cli/docker/buildx/build/#file), [`--file`](https://docs.docker.com/reference/cli/docker/buildx/build/#file) | `string` | | Name of the Dockerfile (Default is `PATH/Dockerfile`) |
|
||||||
| `--force-rm` | | | Always remove intermediate containers |
|
| `--force-rm` | `bool` | | Always remove intermediate containers |
|
||||||
| `--iidfile` | `string` | | Write the image ID to the file |
|
| `--iidfile` | `string` | | Write the image ID to the file |
|
||||||
| [`--isolation`](#isolation) | `string` | | Container isolation technology |
|
| [`--isolation`](#isolation) | `string` | | Container isolation technology |
|
||||||
| `--label` | `list` | | Set metadata for an image |
|
| `--label` | `list` | | Set metadata for an image |
|
||||||
| `-m`, `--memory` | `bytes` | `0` | Memory limit |
|
| `-m`, `--memory` | `bytes` | `0` | Memory limit |
|
||||||
| `--memory-swap` | `bytes` | `0` | Swap limit equal to memory plus swap: -1 to enable unlimited swap |
|
| `--memory-swap` | `bytes` | `0` | Swap limit equal to memory plus swap: -1 to enable unlimited swap |
|
||||||
| [`--network`](https://docs.docker.com/reference/cli/docker/buildx/build/#network) | `string` | `default` | Set the networking mode for the RUN instructions during build |
|
| [`--network`](https://docs.docker.com/reference/cli/docker/buildx/build/#network) | `string` | `default` | Set the networking mode for the RUN instructions during build |
|
||||||
| `--no-cache` | | | Do not use cache when building the image |
|
| `--no-cache` | `bool` | | Do not use cache when building the image |
|
||||||
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
||||||
| `--pull` | | | Always attempt to pull a newer version of the image |
|
| `--pull` | `bool` | | Always attempt to pull a newer version of the image |
|
||||||
| `-q`, `--quiet` | | | Suppress the build output and print image ID on success |
|
| `-q`, `--quiet` | `bool` | | Suppress the build output and print image ID on success |
|
||||||
| `--rm` | `bool` | `true` | Remove intermediate containers after a successful build |
|
| `--rm` | `bool` | `true` | Remove intermediate containers after a successful build |
|
||||||
| [`--security-opt`](#security-opt) | `stringSlice` | | Security options |
|
| [`--security-opt`](#security-opt) | `stringSlice` | | Security options |
|
||||||
| `--shm-size` | `bytes` | `0` | Size of `/dev/shm` |
|
| `--shm-size` | `bytes` | `0` | Size of `/dev/shm` |
|
||||||
| [`--squash`](#squash) | | | Squash newly built layers into a single new layer |
|
| [`--squash`](#squash) | `bool` | | Squash newly built layers into a single new layer |
|
||||||
| [`-t`](https://docs.docker.com/reference/cli/docker/buildx/build/#tag), [`--tag`](https://docs.docker.com/reference/cli/docker/buildx/build/#tag) | `list` | | Name and optionally a tag in the `name:tag` format |
|
| [`-t`](https://docs.docker.com/reference/cli/docker/buildx/build/#tag), [`--tag`](https://docs.docker.com/reference/cli/docker/buildx/build/#tag) | `list` | | Name and optionally a tag in the `name:tag` format |
|
||||||
| [`--target`](https://docs.docker.com/reference/cli/docker/buildx/build/#target) | `string` | | Set the target build stage to build. |
|
| [`--target`](https://docs.docker.com/reference/cli/docker/buildx/build/#target) | `string` | | Set the target build stage to build. |
|
||||||
| `--ulimit` | `ulimit` | | Ulimit options |
|
| `--ulimit` | `ulimit` | | Ulimit options |
|
||||||
|
|
|
@ -13,8 +13,8 @@ Show the history of an image
|
||||||
|:----------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:----------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `-H`, `--human` | `bool` | `true` | Print sizes and dates in human readable format |
|
| `-H`, `--human` | `bool` | `true` | Print sizes and dates in human readable format |
|
||||||
| `--no-trunc` | | | Don't truncate output |
|
| `--no-trunc` | `bool` | | Don't truncate output |
|
||||||
| `-q`, `--quiet` | | | Only show image IDs |
|
| `-q`, `--quiet` | `bool` | | Only show image IDs |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -12,7 +12,7 @@ Load an image from a tar archive or STDIN
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:------------------------------------|:---------|:--------|:---------------------------------------------|
|
|:------------------------------------|:---------|:--------|:---------------------------------------------|
|
||||||
| [`-i`](#input), [`--input`](#input) | `string` | | Read from tar archive file, instead of STDIN |
|
| [`-i`](#input), [`--input`](#input) | `string` | | Read from tar archive file, instead of STDIN |
|
||||||
| `-q`, `--quiet` | | | Suppress the load output |
|
| `-q`, `--quiet` | `bool` | | Suppress the load output |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -11,12 +11,12 @@ List images
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `-a`, `--all` | | | Show all images (default hides intermediate images) |
|
| `-a`, `--all` | `bool` | | Show all images (default hides intermediate images) |
|
||||||
| [`--digests`](#digests) | | | Show digests |
|
| [`--digests`](#digests) | `bool` | | Show digests |
|
||||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
||||||
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| [`--no-trunc`](#no-trunc) | | | Don't truncate output |
|
| [`--no-trunc`](#no-trunc) | `bool` | | Don't truncate output |
|
||||||
| `-q`, `--quiet` | | | Only show image IDs |
|
| `-q`, `--quiet` | `bool` | | Only show image IDs |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -7,9 +7,9 @@ Remove unused images
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------------|:---------|:--------|:-------------------------------------------------|
|
|:----------------------|:---------|:--------|:-------------------------------------------------|
|
||||||
| `-a`, `--all` | | | Remove all unused images, not just dangling ones |
|
| `-a`, `--all` | `bool` | | Remove all unused images, not just dangling ones |
|
||||||
| [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `until=<timestamp>`) |
|
| [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `until=<timestamp>`) |
|
||||||
| `-f`, `--force` | | | Do not prompt for confirmation |
|
| `-f`, `--force` | `bool` | | Do not prompt for confirmation |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -11,10 +11,10 @@ Download an image from a registry
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:---------------------------------------------|:---------|:--------|:-------------------------------------------------|
|
|:---------------------------------------------|:---------|:--------|:-------------------------------------------------|
|
||||||
| [`-a`](#all-tags), [`--all-tags`](#all-tags) | | | Download all tagged images in the repository |
|
| [`-a`](#all-tags), [`--all-tags`](#all-tags) | `bool` | | Download all tagged images in the repository |
|
||||||
| `--disable-content-trust` | `bool` | `true` | Skip image verification |
|
| `--disable-content-trust` | `bool` | `true` | Skip image verification |
|
||||||
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
||||||
| `-q`, `--quiet` | | | Suppress verbose output |
|
| `-q`, `--quiet` | `bool` | | Suppress verbose output |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -11,10 +11,10 @@ Upload an image to a registry
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:---------------------------------------------|:---------|:--------|:--------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------------|:---------|:--------|:--------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`-a`](#all-tags), [`--all-tags`](#all-tags) | | | Push all tags of an image to the repository |
|
| [`-a`](#all-tags), [`--all-tags`](#all-tags) | `bool` | | Push all tags of an image to the repository |
|
||||||
| `--disable-content-trust` | `bool` | `true` | Skip image signing |
|
| `--disable-content-trust` | `bool` | `true` | Skip image signing |
|
||||||
| `--platform` | `string` | | Push a platform-specific manifest as a single-platform image to the registry.<br>'os[/arch[/variant]]': Explicit platform (eg. linux/amd64) |
|
| `--platform` | `string` | | Push a platform-specific manifest as a single-platform image to the registry.<br>'os[/arch[/variant]]': Explicit platform (eg. linux/amd64) |
|
||||||
| `-q`, `--quiet` | | | Suppress verbose output |
|
| `-q`, `--quiet` | `bool` | | Suppress verbose output |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -10,9 +10,9 @@ Remove one or more images
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:-----|:--------|:-------------------------------|
|
|:----------------|:-------|:--------|:-------------------------------|
|
||||||
| `-f`, `--force` | | | Force removal of the image |
|
| `-f`, `--force` | `bool` | | Force removal of the image |
|
||||||
| `--no-prune` | | | Do not delete untagged parents |
|
| `--no-prune` | `bool` | | Do not delete untagged parents |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -11,12 +11,12 @@ List images
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:-----------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:-----------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `-a`, `--all` | | | Show all images (default hides intermediate images) |
|
| `-a`, `--all` | `bool` | | Show all images (default hides intermediate images) |
|
||||||
| `--digests` | | | Show digests |
|
| `--digests` | `bool` | | Show digests |
|
||||||
| `-f`, `--filter` | `filter` | | Filter output based on conditions provided |
|
| `-f`, `--filter` | `filter` | | Filter output based on conditions provided |
|
||||||
| `--format` | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| `--format` | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `--no-trunc` | | | Don't truncate output |
|
| `--no-trunc` | `bool` | | Don't truncate output |
|
||||||
| `-q`, `--quiet` | | | Only show image IDs |
|
| `-q`, `--quiet` | `bool` | | Only show image IDs |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -8,7 +8,7 @@ Return low-level information on Docker objects
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`-f`](#format), [`--format`](#format) | `string` | | Format output using a custom template:<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`-f`](#format), [`--format`](#format) | `string` | | Format output using a custom template:<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| [`-s`](#size), [`--size`](#size) | | | Display total file sizes if the type is container |
|
| [`-s`](#size), [`--size`](#size) | `bool` | | Display total file sizes if the type is container |
|
||||||
| [`--type`](#type) | `string` | | Return JSON for specified type |
|
| [`--type`](#type) | `string` | | Return JSON for specified type |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ Load an image from a tar archive or STDIN
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:---------|:--------|:---------------------------------------------|
|
|:----------------|:---------|:--------|:---------------------------------------------|
|
||||||
| `-i`, `--input` | `string` | | Read from tar archive file, instead of STDIN |
|
| `-i`, `--input` | `string` | | Read from tar archive file, instead of STDIN |
|
||||||
| `-q`, `--quiet` | | | Suppress the load output |
|
| `-q`, `--quiet` | `bool` | | Suppress the load output |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -9,7 +9,7 @@ If no server is specified, the default is defined by the daemon.
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:--------------------------------------|:---------|:--------|:-----------------------------|
|
|:--------------------------------------|:---------|:--------|:-----------------------------|
|
||||||
| `-p`, `--password` | `string` | | Password |
|
| `-p`, `--password` | `string` | | Password |
|
||||||
| [`--password-stdin`](#password-stdin) | | | Take the password from stdin |
|
| [`--password-stdin`](#password-stdin) | `bool` | | Take the password from stdin |
|
||||||
| `-u`, `--username` | `string` | | Username |
|
| `-u`, `--username` | `string` | | Username |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -11,11 +11,11 @@ Fetch the logs of a container
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:---------------------|:---------|:--------|:---------------------------------------------------------------------------------------------------|
|
|:---------------------|:---------|:--------|:---------------------------------------------------------------------------------------------------|
|
||||||
| `--details` | | | Show extra details provided to logs |
|
| `--details` | `bool` | | Show extra details provided to logs |
|
||||||
| `-f`, `--follow` | | | Follow log output |
|
| `-f`, `--follow` | `bool` | | Follow log output |
|
||||||
| `--since` | `string` | | Show logs since timestamp (e.g. `2013-01-02T13:23:37Z`) or relative (e.g. `42m` for 42 minutes) |
|
| `--since` | `string` | | Show logs since timestamp (e.g. `2013-01-02T13:23:37Z`) or relative (e.g. `42m` for 42 minutes) |
|
||||||
| `-n`, `--tail` | `string` | `all` | Number of lines to show from the end of the logs |
|
| `-n`, `--tail` | `string` | `all` | Number of lines to show from the end of the logs |
|
||||||
| `-t`, `--timestamps` | | | Show timestamps |
|
| `-t`, `--timestamps` | `bool` | | Show timestamps |
|
||||||
| `--until` | `string` | | Show logs before a timestamp (e.g. `2013-01-02T13:23:37Z`) or relative (e.g. `42m` for 42 minutes) |
|
| `--until` | `string` | | Show logs before a timestamp (e.g. `2013-01-02T13:23:37Z`) or relative (e.g. `42m` for 42 minutes) |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,9 @@ Create a local manifest list for annotating and pushing to a registry
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:-----|:--------|:----------------------------------------------|
|
|:----------------|:-------|:--------|:----------------------------------------------|
|
||||||
| `-a`, `--amend` | | | Amend an existing manifest list |
|
| `-a`, `--amend` | `bool` | | Amend an existing manifest list |
|
||||||
| `--insecure` | | | Allow communication with an insecure registry |
|
| `--insecure` | `bool` | | Allow communication with an insecure registry |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -6,9 +6,9 @@ Display an image manifest, or manifest list
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:------------------|:-----|:--------|:-----------------------------------------------------|
|
|:------------------|:-------|:--------|:-----------------------------------------------------|
|
||||||
| `--insecure` | | | Allow communication with an insecure registry |
|
| `--insecure` | `bool` | | Allow communication with an insecure registry |
|
||||||
| `-v`, `--verbose` | | | Output additional info including layers and platform |
|
| `-v`, `--verbose` | `bool` | | Output additional info including layers and platform |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -6,9 +6,9 @@ Push a manifest list to a repository
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:-----|:--------|:------------------------------------------|
|
|:----------------|:-------|:--------|:------------------------------------------|
|
||||||
| `--insecure` | | | Allow push to an insecure registry |
|
| `--insecure` | `bool` | | Allow push to an insecure registry |
|
||||||
| `-p`, `--purge` | | | Remove the local manifest list after push |
|
| `-p`, `--purge` | `bool` | | Remove the local manifest list after push |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -7,18 +7,18 @@ Create a network
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:--------------------------|:--------------|:----------|:--------------------------------------------------------|
|
|:--------------------------|:--------------|:----------|:--------------------------------------------------------|
|
||||||
| `--attachable` | | | Enable manual container attachment |
|
| `--attachable` | `bool` | | Enable manual container attachment |
|
||||||
| `--aux-address` | `map` | `map[]` | Auxiliary IPv4 or IPv6 addresses used by Network driver |
|
| `--aux-address` | `map` | `map[]` | Auxiliary IPv4 or IPv6 addresses used by Network driver |
|
||||||
| `--config-from` | `string` | | The network from which to copy the configuration |
|
| `--config-from` | `string` | | The network from which to copy the configuration |
|
||||||
| `--config-only` | | | Create a configuration only network |
|
| `--config-only` | `bool` | | Create a configuration only network |
|
||||||
| `-d`, `--driver` | `string` | `bridge` | Driver to manage the Network |
|
| `-d`, `--driver` | `string` | `bridge` | Driver to manage the Network |
|
||||||
| `--gateway` | `stringSlice` | | IPv4 or IPv6 Gateway for the master subnet |
|
| `--gateway` | `stringSlice` | | IPv4 or IPv6 Gateway for the master subnet |
|
||||||
| [`--ingress`](#ingress) | | | Create swarm routing-mesh network |
|
| [`--ingress`](#ingress) | `bool` | | Create swarm routing-mesh network |
|
||||||
| [`--internal`](#internal) | | | Restrict external access to the network |
|
| [`--internal`](#internal) | `bool` | | Restrict external access to the network |
|
||||||
| `--ip-range` | `stringSlice` | | Allocate container ip from a sub-range |
|
| `--ip-range` | `stringSlice` | | Allocate container ip from a sub-range |
|
||||||
| `--ipam-driver` | `string` | `default` | IP Address Management Driver |
|
| `--ipam-driver` | `string` | `default` | IP Address Management Driver |
|
||||||
| `--ipam-opt` | `map` | `map[]` | Set IPAM driver specific options |
|
| `--ipam-opt` | `map` | `map[]` | Set IPAM driver specific options |
|
||||||
| `--ipv6` | | | Enable or disable IPv6 networking |
|
| `--ipv6` | `bool` | | Enable or disable IPv6 networking |
|
||||||
| `--label` | `list` | | Set metadata on a network |
|
| `--label` | `list` | | Set metadata on a network |
|
||||||
| `-o`, `--opt` | `map` | `map[]` | Set driver specific options |
|
| `-o`, `--opt` | `map` | `map[]` | Set driver specific options |
|
||||||
| `--scope` | `string` | | Control the network's scope |
|
| `--scope` | `string` | | Control the network's scope |
|
||||||
|
|
|
@ -6,8 +6,8 @@ Disconnect a container from a network
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:-----|:--------|:-------------------------------------------------|
|
|:----------------|:-------|:--------|:-------------------------------------------------|
|
||||||
| `-f`, `--force` | | | Force the container to disconnect from a network |
|
| `-f`, `--force` | `bool` | | Force the container to disconnect from a network |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -8,7 +8,7 @@ Display detailed information on one or more networks
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:------------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:------------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `-f`, `--format` | `string` | | Format output using a custom template:<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| `-f`, `--format` | `string` | | Format output using a custom template:<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| [`-v`](#verbose), [`--verbose`](#verbose) | | | Verbose output for diagnostics |
|
| [`-v`](#verbose), [`--verbose`](#verbose) | `bool` | | Verbose output for diagnostics |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -13,8 +13,8 @@ List networks
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `driver=bridge`) |
|
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `driver=bridge`) |
|
||||||
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `--no-trunc` | | | Do not truncate the output |
|
| `--no-trunc` | `bool` | | Do not truncate the output |
|
||||||
| `-q`, `--quiet` | | | Only display network IDs |
|
| `-q`, `--quiet` | `bool` | | Only display network IDs |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -8,7 +8,7 @@ Remove all unused networks
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------------|:---------|:--------|:-------------------------------------------------|
|
|:----------------------|:---------|:--------|:-------------------------------------------------|
|
||||||
| [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `until=<timestamp>`) |
|
| [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `until=<timestamp>`) |
|
||||||
| `-f`, `--force` | | | Do not prompt for confirmation |
|
| `-f`, `--force` | `bool` | | Do not prompt for confirmation |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -10,8 +10,8 @@ Remove one or more networks
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:-----|:--------|:-------------------------------------------|
|
|:----------------|:-------|:--------|:-------------------------------------------|
|
||||||
| `-f`, `--force` | | | Do not error if the network does not exist |
|
| `-f`, `--force` | `bool` | | Do not error if the network does not exist |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -8,7 +8,7 @@ Display detailed information on one or more nodes
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`-f`](#format), [`--format`](#format) | `string` | | Format output using a custom template:<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`-f`](#format), [`--format`](#format) | `string` | | Format output using a custom template:<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `--pretty` | | | Print the information in a human friendly format |
|
| `--pretty` | `bool` | | Print the information in a human friendly format |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -13,7 +13,7 @@ List nodes in the swarm
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
||||||
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `-q`, `--quiet` | | | Only display IDs |
|
| `-q`, `--quiet` | `bool` | | Only display IDs |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -9,9 +9,9 @@ List tasks running on one or more nodes, defaults to current node
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------|
|
||||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
||||||
| [`--format`](#format) | `string` | | Pretty-print tasks using a Go template |
|
| [`--format`](#format) | `string` | | Pretty-print tasks using a Go template |
|
||||||
| `--no-resolve` | | | Do not map IDs to Names |
|
| `--no-resolve` | `bool` | | Do not map IDs to Names |
|
||||||
| `--no-trunc` | | | Do not truncate output |
|
| `--no-trunc` | `bool` | | Do not truncate output |
|
||||||
| `-q`, `--quiet` | | | Only display task IDs |
|
| `-q`, `--quiet` | `bool` | | Only display task IDs |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -10,8 +10,8 @@ Remove one or more nodes from the swarm
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:------------------------------------|:-----|:--------|:-----------------------------------|
|
|:------------------------------------|:-------|:--------|:-----------------------------------|
|
||||||
| [`-f`](#force), [`--force`](#force) | | | Force remove a node from the swarm |
|
| [`-f`](#force), [`--force`](#force) | `bool` | | Force remove a node from the swarm |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -6,8 +6,8 @@ Create a plugin from a rootfs and configuration. Plugin data directory must cont
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:-------------|:-----|:--------|:--------------------------------|
|
|:-------------|:-------|:--------|:--------------------------------|
|
||||||
| `--compress` | | | Compress the context using gzip |
|
| `--compress` | `bool` | | Compress the context using gzip |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -6,8 +6,8 @@ Disable a plugin
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:-----|:--------|:--------------------------------------|
|
|:----------------|:-------|:--------|:--------------------------------------|
|
||||||
| `-f`, `--force` | | | Force the disable of an active plugin |
|
| `-f`, `--force` | `bool` | | Force the disable of an active plugin |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -8,9 +8,9 @@ Install a plugin
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:--------------------------|:---------|:--------|:--------------------------------------------------|
|
|:--------------------------|:---------|:--------|:--------------------------------------------------|
|
||||||
| `--alias` | `string` | | Local name for plugin |
|
| `--alias` | `string` | | Local name for plugin |
|
||||||
| `--disable` | | | Do not enable the plugin on install |
|
| `--disable` | `bool` | | Do not enable the plugin on install |
|
||||||
| `--disable-content-trust` | `bool` | `true` | Skip image verification |
|
| `--disable-content-trust` | `bool` | `true` | Skip image verification |
|
||||||
| `--grant-all-permissions` | | | Grant all permissions necessary to run the plugin |
|
| `--grant-all-permissions` | `bool` | | Grant all permissions necessary to run the plugin |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -13,8 +13,8 @@ List plugins
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `enabled=true`) |
|
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `enabled=true`) |
|
||||||
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `--no-trunc` | | | Don't truncate output |
|
| `--no-trunc` | `bool` | | Don't truncate output |
|
||||||
| `-q`, `--quiet` | | | Only display plugin IDs |
|
| `-q`, `--quiet` | `bool` | | Only display plugin IDs |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -10,8 +10,8 @@ Remove one or more plugins
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:-----|:--------|:--------------------------------------|
|
|:----------------|:-------|:--------|:--------------------------------------|
|
||||||
| `-f`, `--force` | | | Force the removal of an active plugin |
|
| `-f`, `--force` | `bool` | | Force the removal of an active plugin |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -8,8 +8,8 @@ Upgrade an existing plugin
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:--------------------------|:-------|:--------|:----------------------------------------------------------------------|
|
|:--------------------------|:-------|:--------|:----------------------------------------------------------------------|
|
||||||
| `--disable-content-trust` | `bool` | `true` | Skip image verification |
|
| `--disable-content-trust` | `bool` | `true` | Skip image verification |
|
||||||
| `--grant-all-permissions` | | | Grant all permissions necessary to run the plugin |
|
| `--grant-all-permissions` | `bool` | | Grant all permissions necessary to run the plugin |
|
||||||
| `--skip-remote-check` | | | Do not check if specified remote plugin matches existing plugin image |
|
| `--skip-remote-check` | `bool` | | Do not check if specified remote plugin matches existing plugin image |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -11,14 +11,14 @@ List containers
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:-----------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:-----------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `-a`, `--all` | | | Show all containers (default shows just running) |
|
| `-a`, `--all` | `bool` | | Show all containers (default shows just running) |
|
||||||
| `-f`, `--filter` | `filter` | | Filter output based on conditions provided |
|
| `-f`, `--filter` | `filter` | | Filter output based on conditions provided |
|
||||||
| `--format` | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| `--format` | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `-n`, `--last` | `int` | `-1` | Show n last created containers (includes all states) |
|
| `-n`, `--last` | `int` | `-1` | Show n last created containers (includes all states) |
|
||||||
| `-l`, `--latest` | | | Show the latest created container (includes all states) |
|
| `-l`, `--latest` | `bool` | | Show the latest created container (includes all states) |
|
||||||
| `--no-trunc` | | | Don't truncate output |
|
| `--no-trunc` | `bool` | | Don't truncate output |
|
||||||
| `-q`, `--quiet` | | | Only display container IDs |
|
| `-q`, `--quiet` | `bool` | | Only display container IDs |
|
||||||
| `-s`, `--size` | | | Display total file sizes |
|
| `-s`, `--size` | `bool` | | Display total file sizes |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -11,10 +11,10 @@ Download an image from a registry
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:--------------------------|:---------|:--------|:-------------------------------------------------|
|
|:--------------------------|:---------|:--------|:-------------------------------------------------|
|
||||||
| `-a`, `--all-tags` | | | Download all tagged images in the repository |
|
| `-a`, `--all-tags` | `bool` | | Download all tagged images in the repository |
|
||||||
| `--disable-content-trust` | `bool` | `true` | Skip image verification |
|
| `--disable-content-trust` | `bool` | `true` | Skip image verification |
|
||||||
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
||||||
| `-q`, `--quiet` | | | Suppress verbose output |
|
| `-q`, `--quiet` | `bool` | | Suppress verbose output |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -11,10 +11,10 @@ Upload an image to a registry
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:--------------------------|:---------|:--------|:--------------------------------------------------------------------------------------------------------------------------------------------|
|
|:--------------------------|:---------|:--------|:--------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `-a`, `--all-tags` | | | Push all tags of an image to the repository |
|
| `-a`, `--all-tags` | `bool` | | Push all tags of an image to the repository |
|
||||||
| `--disable-content-trust` | `bool` | `true` | Skip image signing |
|
| `--disable-content-trust` | `bool` | `true` | Skip image signing |
|
||||||
| `--platform` | `string` | | Push a platform-specific manifest as a single-platform image to the registry.<br>'os[/arch[/variant]]': Explicit platform (eg. linux/amd64) |
|
| `--platform` | `string` | | Push a platform-specific manifest as a single-platform image to the registry.<br>'os[/arch[/variant]]': Explicit platform (eg. linux/amd64) |
|
||||||
| `-q`, `--quiet` | | | Suppress verbose output |
|
| `-q`, `--quiet` | `bool` | | Suppress verbose output |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -10,10 +10,10 @@ Remove one or more containers
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:------------------|:-----|:--------|:--------------------------------------------------------|
|
|:------------------|:-------|:--------|:--------------------------------------------------------|
|
||||||
| `-f`, `--force` | | | Force the removal of a running container (uses SIGKILL) |
|
| `-f`, `--force` | `bool` | | Force the removal of a running container (uses SIGKILL) |
|
||||||
| `-l`, `--link` | | | Remove the specified link |
|
| `-l`, `--link` | `bool` | | Remove the specified link |
|
||||||
| `-v`, `--volumes` | | | Remove anonymous volumes associated with the container |
|
| `-v`, `--volumes` | `bool` | | Remove anonymous volumes associated with the container |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -10,9 +10,9 @@ Remove one or more images
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:-----|:--------|:-------------------------------|
|
|:----------------|:-------|:--------|:-------------------------------|
|
||||||
| `-f`, `--force` | | | Force removal of the image |
|
| `-f`, `--force` | `bool` | | Force removal of the image |
|
||||||
| `--no-prune` | | | Do not delete untagged parents |
|
| `--no-prune` | `bool` | | Do not delete untagged parents |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -31,7 +31,7 @@ Create and run a new container from an image
|
||||||
| `--cpus` | `decimal` | | Number of CPUs |
|
| `--cpus` | `decimal` | | Number of CPUs |
|
||||||
| `--cpuset-cpus` | `string` | | CPUs in which to allow execution (0-3, 0,1) |
|
| `--cpuset-cpus` | `string` | | CPUs in which to allow execution (0-3, 0,1) |
|
||||||
| `--cpuset-mems` | `string` | | MEMs in which to allow execution (0-3, 0,1) |
|
| `--cpuset-mems` | `string` | | MEMs in which to allow execution (0-3, 0,1) |
|
||||||
| `-d`, `--detach` | | | Run container in background and print container ID |
|
| `-d`, `--detach` | `bool` | | Run container in background and print container ID |
|
||||||
| `--detach-keys` | `string` | | Override the key sequence for detaching a container |
|
| `--detach-keys` | `string` | | Override the key sequence for detaching a container |
|
||||||
| `--device` | `list` | | Add a host device to the container |
|
| `--device` | `list` | | Add a host device to the container |
|
||||||
| `--device-cgroup-rule` | `list` | | Add a rule to the cgroup allowed devices list |
|
| `--device-cgroup-rule` | `list` | | Add a rule to the cgroup allowed devices list |
|
||||||
|
@ -56,10 +56,10 @@ Create and run a new container from an image
|
||||||
| `--health-start-interval` | `duration` | `0s` | Time between running the check during the start period (ms\|s\|m\|h) (default 0s) |
|
| `--health-start-interval` | `duration` | `0s` | Time between running the check during the start period (ms\|s\|m\|h) (default 0s) |
|
||||||
| `--health-start-period` | `duration` | `0s` | Start period for the container to initialize before starting health-retries countdown (ms\|s\|m\|h) (default 0s) |
|
| `--health-start-period` | `duration` | `0s` | Start period for the container to initialize before starting health-retries countdown (ms\|s\|m\|h) (default 0s) |
|
||||||
| `--health-timeout` | `duration` | `0s` | Maximum time to allow one check to run (ms\|s\|m\|h) (default 0s) |
|
| `--health-timeout` | `duration` | `0s` | Maximum time to allow one check to run (ms\|s\|m\|h) (default 0s) |
|
||||||
| `--help` | | | Print usage |
|
| `--help` | `bool` | | Print usage |
|
||||||
| `-h`, `--hostname` | `string` | | Container host name |
|
| `-h`, `--hostname` | `string` | | Container host name |
|
||||||
| `--init` | | | Run an init inside the container that forwards signals and reaps processes |
|
| `--init` | `bool` | | Run an init inside the container that forwards signals and reaps processes |
|
||||||
| `-i`, `--interactive` | | | Keep STDIN open even if not attached |
|
| `-i`, `--interactive` | `bool` | | Keep STDIN open even if not attached |
|
||||||
| `--io-maxbandwidth` | `bytes` | `0` | Maximum IO bandwidth limit for the system drive (Windows only) |
|
| `--io-maxbandwidth` | `bytes` | `0` | Maximum IO bandwidth limit for the system drive (Windows only) |
|
||||||
| `--io-maxiops` | `uint64` | `0` | Maximum IOps limit for the system drive (Windows only) |
|
| `--io-maxiops` | `uint64` | `0` | Maximum IOps limit for the system drive (Windows only) |
|
||||||
| `--ip` | `string` | | IPv4 address (e.g., 172.30.100.104) |
|
| `--ip` | `string` | | IPv4 address (e.g., 172.30.100.104) |
|
||||||
|
@ -82,20 +82,20 @@ Create and run a new container from an image
|
||||||
| `--name` | `string` | | Assign a name to the container |
|
| `--name` | `string` | | Assign a name to the container |
|
||||||
| `--network` | `network` | | Connect a container to a network |
|
| `--network` | `network` | | Connect a container to a network |
|
||||||
| `--network-alias` | `list` | | Add network-scoped alias for the container |
|
| `--network-alias` | `list` | | Add network-scoped alias for the container |
|
||||||
| `--no-healthcheck` | | | Disable any container-specified HEALTHCHECK |
|
| `--no-healthcheck` | `bool` | | Disable any container-specified HEALTHCHECK |
|
||||||
| `--oom-kill-disable` | | | Disable OOM Killer |
|
| `--oom-kill-disable` | `bool` | | Disable OOM Killer |
|
||||||
| `--oom-score-adj` | `int` | `0` | Tune host's OOM preferences (-1000 to 1000) |
|
| `--oom-score-adj` | `int` | `0` | Tune host's OOM preferences (-1000 to 1000) |
|
||||||
| `--pid` | `string` | | PID namespace to use |
|
| `--pid` | `string` | | PID namespace to use |
|
||||||
| `--pids-limit` | `int64` | `0` | Tune container pids limit (set -1 for unlimited) |
|
| `--pids-limit` | `int64` | `0` | Tune container pids limit (set -1 for unlimited) |
|
||||||
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
| `--platform` | `string` | | Set platform if server is multi-platform capable |
|
||||||
| `--privileged` | | | Give extended privileges to this container |
|
| `--privileged` | `bool` | | Give extended privileges to this container |
|
||||||
| `-p`, `--publish` | `list` | | Publish a container's port(s) to the host |
|
| `-p`, `--publish` | `list` | | Publish a container's port(s) to the host |
|
||||||
| `-P`, `--publish-all` | | | Publish all exposed ports to random ports |
|
| `-P`, `--publish-all` | `bool` | | Publish all exposed ports to random ports |
|
||||||
| `--pull` | `string` | `missing` | Pull image before running (`always`, `missing`, `never`) |
|
| `--pull` | `string` | `missing` | Pull image before running (`always`, `missing`, `never`) |
|
||||||
| `-q`, `--quiet` | | | Suppress the pull output |
|
| `-q`, `--quiet` | `bool` | | Suppress the pull output |
|
||||||
| `--read-only` | | | Mount the container's root filesystem as read only |
|
| `--read-only` | `bool` | | Mount the container's root filesystem as read only |
|
||||||
| `--restart` | `string` | `no` | Restart policy to apply when a container exits |
|
| `--restart` | `string` | `no` | Restart policy to apply when a container exits |
|
||||||
| `--rm` | | | Automatically remove the container and its associated anonymous volumes when it exits |
|
| `--rm` | `bool` | | Automatically remove the container and its associated anonymous volumes when it exits |
|
||||||
| `--runtime` | `string` | | Runtime to use for this container |
|
| `--runtime` | `string` | | Runtime to use for this container |
|
||||||
| `--security-opt` | `list` | | Security Options |
|
| `--security-opt` | `list` | | Security Options |
|
||||||
| `--shm-size` | `bytes` | `0` | Size of /dev/shm |
|
| `--shm-size` | `bytes` | `0` | Size of /dev/shm |
|
||||||
|
@ -105,7 +105,7 @@ Create and run a new container from an image
|
||||||
| `--storage-opt` | `list` | | Storage driver options for the container |
|
| `--storage-opt` | `list` | | Storage driver options for the container |
|
||||||
| `--sysctl` | `map` | `map[]` | Sysctl options |
|
| `--sysctl` | `map` | `map[]` | Sysctl options |
|
||||||
| `--tmpfs` | `list` | | Mount a tmpfs directory |
|
| `--tmpfs` | `list` | | Mount a tmpfs directory |
|
||||||
| `-t`, `--tty` | | | Allocate a pseudo-TTY |
|
| `-t`, `--tty` | `bool` | | Allocate a pseudo-TTY |
|
||||||
| `--ulimit` | `ulimit` | | Ulimit options |
|
| `--ulimit` | `ulimit` | | Ulimit options |
|
||||||
| `-u`, `--user` | `string` | | Username or UID (format: <name\|uid>[:<group\|gid>]) |
|
| `-u`, `--user` | `string` | | Username or UID (format: <name\|uid>[:<group\|gid>]) |
|
||||||
| `--userns` | `string` | | User namespace to use |
|
| `--userns` | `string` | | User namespace to use |
|
||||||
|
|
|
@ -10,7 +10,7 @@ Search Docker Hub for images
|
||||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
||||||
| [`--format`](#format) | `string` | | Pretty-print search using a Go template |
|
| [`--format`](#format) | `string` | | Pretty-print search using a Go template |
|
||||||
| [`--limit`](#limit) | `int` | `0` | Max number of search results |
|
| [`--limit`](#limit) | `int` | `0` | Max number of search results |
|
||||||
| [`--no-trunc`](#no-trunc) | | | Don't truncate output |
|
| [`--no-trunc`](#no-trunc) | `bool` | | Don't truncate output |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -8,7 +8,7 @@ Display detailed information on one or more secrets
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`-f`](#format), [`--format`](#format) | `string` | | Format output using a custom template:<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`-f`](#format), [`--format`](#format) | `string` | | Format output using a custom template:<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `--pretty` | | | Print the information in a human friendly format |
|
| `--pretty` | `bool` | | Print the information in a human friendly format |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -13,7 +13,7 @@ List secrets
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
||||||
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `-q`, `--quiet` | | | Only display IDs |
|
| `-q`, `--quiet` | `bool` | | Only display IDs |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -13,7 +13,7 @@ Create a new service
|
||||||
| [`--constraint`](#constraint) | `list` | | Placement constraints |
|
| [`--constraint`](#constraint) | `list` | | Placement constraints |
|
||||||
| `--container-label` | `list` | | Container labels |
|
| `--container-label` | `list` | | Container labels |
|
||||||
| `--credential-spec` | `credential-spec` | | Credential spec for managed service account (Windows only) |
|
| `--credential-spec` | `credential-spec` | | Credential spec for managed service account (Windows only) |
|
||||||
| `-d`, `--detach` | | | Exit immediately instead of waiting for the service to converge |
|
| `-d`, `--detach` | `bool` | | Exit immediately instead of waiting for the service to converge |
|
||||||
| `--dns` | `list` | | Set custom DNS servers |
|
| `--dns` | `list` | | Set custom DNS servers |
|
||||||
| `--dns-option` | `list` | | Set DNS options |
|
| `--dns-option` | `list` | | Set DNS options |
|
||||||
| `--dns-search` | `list` | | Set custom DNS search domains |
|
| `--dns-search` | `list` | | Set custom DNS search domains |
|
||||||
|
@ -31,7 +31,7 @@ Create a new service
|
||||||
| `--health-timeout` | `duration` | | Maximum time to allow one check to run (ms\|s\|m\|h) |
|
| `--health-timeout` | `duration` | | Maximum time to allow one check to run (ms\|s\|m\|h) |
|
||||||
| `--host` | `list` | | Set one or more custom host-to-IP mappings (host:ip) |
|
| `--host` | `list` | | Set one or more custom host-to-IP mappings (host:ip) |
|
||||||
| [`--hostname`](#hostname) | `string` | | Container hostname |
|
| [`--hostname`](#hostname) | `string` | | Container hostname |
|
||||||
| `--init` | | | Use an init inside each service container to forward signals and reap processes |
|
| `--init` | `bool` | | Use an init inside each service container to forward signals and reap processes |
|
||||||
| [`--isolation`](#isolation) | `string` | | Service container isolation mode |
|
| [`--isolation`](#isolation) | `string` | | Service container isolation mode |
|
||||||
| [`-l`](#label), [`--label`](#label) | `list` | | Service labels |
|
| [`-l`](#label), [`--label`](#label) | `list` | | Service labels |
|
||||||
| `--limit-cpu` | `decimal` | | Limit CPUs |
|
| `--limit-cpu` | `decimal` | | Limit CPUs |
|
||||||
|
@ -44,12 +44,12 @@ Create a new service
|
||||||
| [`--mount`](#mount) | `mount` | | Attach a filesystem mount to the service |
|
| [`--mount`](#mount) | `mount` | | Attach a filesystem mount to the service |
|
||||||
| `--name` | `string` | | Service name |
|
| `--name` | `string` | | Service name |
|
||||||
| [`--network`](#network) | `network` | | Network attachments |
|
| [`--network`](#network) | `network` | | Network attachments |
|
||||||
| `--no-healthcheck` | | | Disable any container-specified HEALTHCHECK |
|
| `--no-healthcheck` | `bool` | | Disable any container-specified HEALTHCHECK |
|
||||||
| `--no-resolve-image` | | | Do not query the registry to resolve image digest and supported platforms |
|
| `--no-resolve-image` | `bool` | | Do not query the registry to resolve image digest and supported platforms |
|
||||||
| [`--placement-pref`](#placement-pref) | `pref` | | Add a placement preference |
|
| [`--placement-pref`](#placement-pref) | `pref` | | Add a placement preference |
|
||||||
| [`-p`](#publish), [`--publish`](#publish) | `port` | | Publish a port as a node port |
|
| [`-p`](#publish), [`--publish`](#publish) | `port` | | Publish a port as a node port |
|
||||||
| `-q`, `--quiet` | | | Suppress progress output |
|
| `-q`, `--quiet` | `bool` | | Suppress progress output |
|
||||||
| `--read-only` | | | Mount the container's root filesystem as read only |
|
| `--read-only` | `bool` | | Mount the container's root filesystem as read only |
|
||||||
| [`--replicas`](#replicas) | `uint` | | Number of tasks |
|
| [`--replicas`](#replicas) | `uint` | | Number of tasks |
|
||||||
| [`--replicas-max-per-node`](#replicas-max-per-node) | `uint64` | `0` | Maximum number of tasks per node (default 0 = unlimited) |
|
| [`--replicas-max-per-node`](#replicas-max-per-node) | `uint64` | `0` | Maximum number of tasks per node (default 0 = unlimited) |
|
||||||
| `--reserve-cpu` | `decimal` | | Reserve CPUs |
|
| `--reserve-cpu` | `decimal` | | Reserve CPUs |
|
||||||
|
@ -68,7 +68,7 @@ Create a new service
|
||||||
| `--stop-grace-period` | `duration` | | Time to wait before force killing a container (ns\|us\|ms\|s\|m\|h) (default 10s) |
|
| `--stop-grace-period` | `duration` | | Time to wait before force killing a container (ns\|us\|ms\|s\|m\|h) (default 10s) |
|
||||||
| `--stop-signal` | `string` | | Signal to stop the container |
|
| `--stop-signal` | `string` | | Signal to stop the container |
|
||||||
| `--sysctl` | `list` | | Sysctl options |
|
| `--sysctl` | `list` | | Sysctl options |
|
||||||
| `-t`, `--tty` | | | Allocate a pseudo-TTY |
|
| `-t`, `--tty` | `bool` | | Allocate a pseudo-TTY |
|
||||||
| `--ulimit` | `ulimit` | | Ulimit options |
|
| `--ulimit` | `ulimit` | | Ulimit options |
|
||||||
| [`--update-delay`](#update-delay) | `duration` | `0s` | Delay between updates (ns\|us\|ms\|s\|m\|h) (default 0s) |
|
| [`--update-delay`](#update-delay) | `duration` | `0s` | Delay between updates (ns\|us\|ms\|s\|m\|h) (default 0s) |
|
||||||
| `--update-failure-action` | `string` | | Action on update failure (`pause`, `continue`, `rollback`) (default `pause`) |
|
| `--update-failure-action` | `string` | | Action on update failure (`pause`, `continue`, `rollback`) (default `pause`) |
|
||||||
|
@ -77,7 +77,7 @@ Create a new service
|
||||||
| `--update-order` | `string` | | Update order (`start-first`, `stop-first`) (default `stop-first`) |
|
| `--update-order` | `string` | | Update order (`start-first`, `stop-first`) (default `stop-first`) |
|
||||||
| `--update-parallelism` | `uint64` | `1` | Maximum number of tasks updated simultaneously (0 to update all at once) |
|
| `--update-parallelism` | `uint64` | `1` | Maximum number of tasks updated simultaneously (0 to update all at once) |
|
||||||
| `-u`, `--user` | `string` | | Username or UID (format: <name\|uid>[:<group\|gid>]) |
|
| `-u`, `--user` | `string` | | Username or UID (format: <name\|uid>[:<group\|gid>]) |
|
||||||
| [`--with-registry-auth`](#with-registry-auth) | | | Send registry authentication details to swarm agents |
|
| [`--with-registry-auth`](#with-registry-auth) | `bool` | | Send registry authentication details to swarm agents |
|
||||||
| `-w`, `--workdir` | `string` | | Working directory inside the container |
|
| `-w`, `--workdir` | `string` | | Working directory inside the container |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ Display detailed information on one or more services
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`-f`](#format), [`--format`](#format) | `string` | | Format output using a custom template:<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`-f`](#format), [`--format`](#format) | `string` | | Format output using a custom template:<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| [`--pretty`](#pretty) | | | Print the information in a human friendly format |
|
| [`--pretty`](#pretty) | `bool` | | Print the information in a human friendly format |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -7,15 +7,15 @@ Fetch the logs of a service or task
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:---------------------|:---------|:--------|:------------------------------------------------------------------------------------------------|
|
|:---------------------|:---------|:--------|:------------------------------------------------------------------------------------------------|
|
||||||
| `--details` | | | Show extra details provided to logs |
|
| `--details` | `bool` | | Show extra details provided to logs |
|
||||||
| `-f`, `--follow` | | | Follow log output |
|
| `-f`, `--follow` | `bool` | | Follow log output |
|
||||||
| `--no-resolve` | | | Do not map IDs to Names in output |
|
| `--no-resolve` | `bool` | | Do not map IDs to Names in output |
|
||||||
| `--no-task-ids` | | | Do not include task IDs in output |
|
| `--no-task-ids` | `bool` | | Do not include task IDs in output |
|
||||||
| `--no-trunc` | | | Do not truncate output |
|
| `--no-trunc` | `bool` | | Do not truncate output |
|
||||||
| `--raw` | | | Do not neatly format logs |
|
| `--raw` | `bool` | | Do not neatly format logs |
|
||||||
| `--since` | `string` | | Show logs since timestamp (e.g. `2013-01-02T13:23:37Z`) or relative (e.g. `42m` for 42 minutes) |
|
| `--since` | `string` | | Show logs since timestamp (e.g. `2013-01-02T13:23:37Z`) or relative (e.g. `42m` for 42 minutes) |
|
||||||
| `-n`, `--tail` | `string` | `all` | Number of lines to show from the end of the logs |
|
| `-n`, `--tail` | `string` | `all` | Number of lines to show from the end of the logs |
|
||||||
| `-t`, `--timestamps` | | | Show timestamps |
|
| `-t`, `--timestamps` | `bool` | | Show timestamps |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -13,7 +13,7 @@ List services
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
||||||
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `-q`, `--quiet` | | | Only display IDs |
|
| `-q`, `--quiet` | `bool` | | Only display IDs |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -9,9 +9,9 @@ List the tasks of one or more services
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------|
|
||||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
||||||
| [`--format`](#format) | `string` | | Pretty-print tasks using a Go template |
|
| [`--format`](#format) | `string` | | Pretty-print tasks using a Go template |
|
||||||
| `--no-resolve` | | | Do not map IDs to Names |
|
| `--no-resolve` | `bool` | | Do not map IDs to Names |
|
||||||
| `--no-trunc` | | | Do not truncate output |
|
| `--no-trunc` | `bool` | | Do not truncate output |
|
||||||
| `-q`, `--quiet` | | | Only display task IDs |
|
| `-q`, `--quiet` | `bool` | | Only display task IDs |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -6,9 +6,9 @@ Revert changes to a service's configuration
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:-----------------|:-----|:--------|:----------------------------------------------------------------|
|
|:-----------------|:-------|:--------|:----------------------------------------------------------------|
|
||||||
| `-d`, `--detach` | | | Exit immediately instead of waiting for the service to converge |
|
| `-d`, `--detach` | `bool` | | Exit immediately instead of waiting for the service to converge |
|
||||||
| `-q`, `--quiet` | | | Suppress progress output |
|
| `-q`, `--quiet` | `bool` | | Suppress progress output |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -6,8 +6,8 @@ Scale one or multiple replicated services
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:-----------------|:-----|:--------|:----------------------------------------------------------------|
|
|:-----------------|:-------|:--------|:----------------------------------------------------------------|
|
||||||
| `-d`, `--detach` | | | Exit immediately instead of waiting for the service to converge |
|
| `-d`, `--detach` | `bool` | | Exit immediately instead of waiting for the service to converge |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -17,7 +17,7 @@ Update a service
|
||||||
| `--container-label-add` | `list` | | Add or update a container label |
|
| `--container-label-add` | `list` | | Add or update a container label |
|
||||||
| `--container-label-rm` | `list` | | Remove a container label by its key |
|
| `--container-label-rm` | `list` | | Remove a container label by its key |
|
||||||
| `--credential-spec` | `credential-spec` | | Credential spec for managed service account (Windows only) |
|
| `--credential-spec` | `credential-spec` | | Credential spec for managed service account (Windows only) |
|
||||||
| `-d`, `--detach` | | | Exit immediately instead of waiting for the service to converge |
|
| `-d`, `--detach` | `bool` | | Exit immediately instead of waiting for the service to converge |
|
||||||
| `--dns-add` | `list` | | Add or update a custom DNS server |
|
| `--dns-add` | `list` | | Add or update a custom DNS server |
|
||||||
| `--dns-option-add` | `list` | | Add or update a DNS option |
|
| `--dns-option-add` | `list` | | Add or update a DNS option |
|
||||||
| `--dns-option-rm` | `list` | | Remove a DNS option |
|
| `--dns-option-rm` | `list` | | Remove a DNS option |
|
||||||
|
@ -28,7 +28,7 @@ Update a service
|
||||||
| `--entrypoint` | `command` | | Overwrite the default ENTRYPOINT of the image |
|
| `--entrypoint` | `command` | | Overwrite the default ENTRYPOINT of the image |
|
||||||
| `--env-add` | `list` | | Add or update an environment variable |
|
| `--env-add` | `list` | | Add or update an environment variable |
|
||||||
| `--env-rm` | `list` | | Remove an environment variable |
|
| `--env-rm` | `list` | | Remove an environment variable |
|
||||||
| `--force` | | | Force update even if no changes require it |
|
| `--force` | `bool` | | Force update even if no changes require it |
|
||||||
| `--generic-resource-add` | `list` | | Add a Generic resource |
|
| `--generic-resource-add` | `list` | | Add a Generic resource |
|
||||||
| `--generic-resource-rm` | `list` | | Remove a Generic resource |
|
| `--generic-resource-rm` | `list` | | Remove a Generic resource |
|
||||||
| `--group-add` | `list` | | Add an additional supplementary user group to the container |
|
| `--group-add` | `list` | | Add an additional supplementary user group to the container |
|
||||||
|
@ -43,7 +43,7 @@ Update a service
|
||||||
| `--host-rm` | `list` | | Remove a custom host-to-IP mapping (`host:ip`) |
|
| `--host-rm` | `list` | | Remove a custom host-to-IP mapping (`host:ip`) |
|
||||||
| `--hostname` | `string` | | Container hostname |
|
| `--hostname` | `string` | | Container hostname |
|
||||||
| `--image` | `string` | | Service image tag |
|
| `--image` | `string` | | Service image tag |
|
||||||
| `--init` | | | Use an init inside each service container to forward signals and reap processes |
|
| `--init` | `bool` | | Use an init inside each service container to forward signals and reap processes |
|
||||||
| [`--isolation`](#isolation) | `string` | | Service container isolation mode |
|
| [`--isolation`](#isolation) | `string` | | Service container isolation mode |
|
||||||
| `--label-add` | `list` | | Add or update a service label |
|
| `--label-add` | `list` | | Add or update a service label |
|
||||||
| `--label-rm` | `list` | | Remove a label by its key |
|
| `--label-rm` | `list` | | Remove a label by its key |
|
||||||
|
@ -57,14 +57,14 @@ Update a service
|
||||||
| `--mount-rm` | `list` | | Remove a mount by its target path |
|
| `--mount-rm` | `list` | | Remove a mount by its target path |
|
||||||
| [`--network-add`](#network-add) | `network` | | Add a network |
|
| [`--network-add`](#network-add) | `network` | | Add a network |
|
||||||
| `--network-rm` | `list` | | Remove a network |
|
| `--network-rm` | `list` | | Remove a network |
|
||||||
| `--no-healthcheck` | | | Disable any container-specified HEALTHCHECK |
|
| `--no-healthcheck` | `bool` | | Disable any container-specified HEALTHCHECK |
|
||||||
| `--no-resolve-image` | | | Do not query the registry to resolve image digest and supported platforms |
|
| `--no-resolve-image` | `bool` | | Do not query the registry to resolve image digest and supported platforms |
|
||||||
| `--placement-pref-add` | `pref` | | Add a placement preference |
|
| `--placement-pref-add` | `pref` | | Add a placement preference |
|
||||||
| `--placement-pref-rm` | `pref` | | Remove a placement preference |
|
| `--placement-pref-rm` | `pref` | | Remove a placement preference |
|
||||||
| [`--publish-add`](#publish-add) | `port` | | Add or update a published port |
|
| [`--publish-add`](#publish-add) | `port` | | Add or update a published port |
|
||||||
| `--publish-rm` | `port` | | Remove a published port by its target port |
|
| `--publish-rm` | `port` | | Remove a published port by its target port |
|
||||||
| `-q`, `--quiet` | | | Suppress progress output |
|
| `-q`, `--quiet` | `bool` | | Suppress progress output |
|
||||||
| `--read-only` | | | Mount the container's root filesystem as read only |
|
| `--read-only` | `bool` | | Mount the container's root filesystem as read only |
|
||||||
| `--replicas` | `uint` | | Number of tasks |
|
| `--replicas` | `uint` | | Number of tasks |
|
||||||
| `--replicas-max-per-node` | `uint64` | `0` | Maximum number of tasks per node (default 0 = unlimited) |
|
| `--replicas-max-per-node` | `uint64` | `0` | Maximum number of tasks per node (default 0 = unlimited) |
|
||||||
| `--reserve-cpu` | `decimal` | | Reserve CPUs |
|
| `--reserve-cpu` | `decimal` | | Reserve CPUs |
|
||||||
|
@ -73,7 +73,7 @@ Update a service
|
||||||
| `--restart-delay` | `duration` | | Delay between restart attempts (ns\|us\|ms\|s\|m\|h) |
|
| `--restart-delay` | `duration` | | Delay between restart attempts (ns\|us\|ms\|s\|m\|h) |
|
||||||
| `--restart-max-attempts` | `uint` | | Maximum number of restarts before giving up |
|
| `--restart-max-attempts` | `uint` | | Maximum number of restarts before giving up |
|
||||||
| `--restart-window` | `duration` | | Window used to evaluate the restart policy (ns\|us\|ms\|s\|m\|h) |
|
| `--restart-window` | `duration` | | Window used to evaluate the restart policy (ns\|us\|ms\|s\|m\|h) |
|
||||||
| [`--rollback`](#rollback) | | | Rollback to previous specification |
|
| [`--rollback`](#rollback) | `bool` | | Rollback to previous specification |
|
||||||
| `--rollback-delay` | `duration` | `0s` | Delay between task rollbacks (ns\|us\|ms\|s\|m\|h) |
|
| `--rollback-delay` | `duration` | `0s` | Delay between task rollbacks (ns\|us\|ms\|s\|m\|h) |
|
||||||
| `--rollback-failure-action` | `string` | | Action on rollback failure (`pause`, `continue`) |
|
| `--rollback-failure-action` | `string` | | Action on rollback failure (`pause`, `continue`) |
|
||||||
| `--rollback-max-failure-ratio` | `float` | `0` | Failure rate to tolerate during a rollback |
|
| `--rollback-max-failure-ratio` | `float` | `0` | Failure rate to tolerate during a rollback |
|
||||||
|
@ -86,7 +86,7 @@ Update a service
|
||||||
| `--stop-signal` | `string` | | Signal to stop the container |
|
| `--stop-signal` | `string` | | Signal to stop the container |
|
||||||
| `--sysctl-add` | `list` | | Add or update a Sysctl option |
|
| `--sysctl-add` | `list` | | Add or update a Sysctl option |
|
||||||
| `--sysctl-rm` | `list` | | Remove a Sysctl option |
|
| `--sysctl-rm` | `list` | | Remove a Sysctl option |
|
||||||
| `-t`, `--tty` | | | Allocate a pseudo-TTY |
|
| `-t`, `--tty` | `bool` | | Allocate a pseudo-TTY |
|
||||||
| `--ulimit-add` | `ulimit` | | Add or update a ulimit option |
|
| `--ulimit-add` | `ulimit` | | Add or update a ulimit option |
|
||||||
| `--ulimit-rm` | `list` | | Remove a ulimit option |
|
| `--ulimit-rm` | `list` | | Remove a ulimit option |
|
||||||
| `--update-delay` | `duration` | `0s` | Delay between updates (ns\|us\|ms\|s\|m\|h) |
|
| `--update-delay` | `duration` | `0s` | Delay between updates (ns\|us\|ms\|s\|m\|h) |
|
||||||
|
@ -96,7 +96,7 @@ Update a service
|
||||||
| `--update-order` | `string` | | Update order (`start-first`, `stop-first`) |
|
| `--update-order` | `string` | | Update order (`start-first`, `stop-first`) |
|
||||||
| [`--update-parallelism`](#update-parallelism) | `uint64` | `0` | Maximum number of tasks updated simultaneously (0 to update all at once) |
|
| [`--update-parallelism`](#update-parallelism) | `uint64` | `0` | Maximum number of tasks updated simultaneously (0 to update all at once) |
|
||||||
| `-u`, `--user` | `string` | | Username or UID (format: <name\|uid>[:<group\|gid>]) |
|
| `-u`, `--user` | `string` | | Username or UID (format: <name\|uid>[:<group\|gid>]) |
|
||||||
| `--with-registry-auth` | | | Send registry authentication details to swarm agents |
|
| `--with-registry-auth` | `bool` | | Send registry authentication details to swarm agents |
|
||||||
| `-w`, `--workdir` | `string` | | Working directory inside the container |
|
| `-w`, `--workdir` | `string` | | Working directory inside the container |
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ Outputs the final config file, after doing merges and interpolations
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:-----------------------|:--------------|:--------|:--------------------------------------------------|
|
|:-----------------------|:--------------|:--------|:--------------------------------------------------|
|
||||||
| `-c`, `--compose-file` | `stringSlice` | | Path to a Compose file, or `-` to read from stdin |
|
| `-c`, `--compose-file` | `stringSlice` | | Path to a Compose file, or `-` to read from stdin |
|
||||||
| `--skip-interpolation` | | | Skip interpolation and output only merged config |
|
| `--skip-interpolation` | `bool` | | Skip interpolation and output only merged config |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -13,10 +13,10 @@ Deploy a new stack or update an existing stack
|
||||||
|:---------------------------------------------------------|:--------------|:---------|:--------------------------------------------------------------------------------------------------|
|
|:---------------------------------------------------------|:--------------|:---------|:--------------------------------------------------------------------------------------------------|
|
||||||
| [`-c`](#compose-file), [`--compose-file`](#compose-file) | `stringSlice` | | Path to a Compose file, or `-` to read from stdin |
|
| [`-c`](#compose-file), [`--compose-file`](#compose-file) | `stringSlice` | | Path to a Compose file, or `-` to read from stdin |
|
||||||
| `-d`, `--detach` | `bool` | `true` | Exit immediately instead of waiting for the stack services to converge |
|
| `-d`, `--detach` | `bool` | `true` | Exit immediately instead of waiting for the stack services to converge |
|
||||||
| `--prune` | | | Prune services that are no longer referenced |
|
| `--prune` | `bool` | | Prune services that are no longer referenced |
|
||||||
| `-q`, `--quiet` | | | Suppress progress output |
|
| `-q`, `--quiet` | `bool` | | Suppress progress output |
|
||||||
| `--resolve-image` | `string` | `always` | Query the registry to resolve image digest and supported platforms (`always`, `changed`, `never`) |
|
| `--resolve-image` | `string` | `always` | Query the registry to resolve image digest and supported platforms (`always`, `changed`, `never`) |
|
||||||
| `--with-registry-auth` | | | Send registry authentication details to Swarm agents |
|
| `--with-registry-auth` | `bool` | | Send registry authentication details to Swarm agents |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -9,9 +9,9 @@ List the tasks in the stack
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
||||||
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| [`--no-resolve`](#no-resolve) | | | Do not map IDs to Names |
|
| [`--no-resolve`](#no-resolve) | `bool` | | Do not map IDs to Names |
|
||||||
| [`--no-trunc`](#no-trunc) | | | Do not truncate output |
|
| [`--no-trunc`](#no-trunc) | `bool` | | Do not truncate output |
|
||||||
| [`-q`](#quiet), [`--quiet`](#quiet) | | | Only display task IDs |
|
| [`-q`](#quiet), [`--quiet`](#quiet) | `bool` | | Only display task IDs |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -9,7 +9,7 @@ List the services in the stack
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Filter output based on conditions provided |
|
||||||
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `-q`, `--quiet` | | | Only display IDs |
|
| `-q`, `--quiet` | `bool` | | Only display IDs |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -11,11 +11,11 @@ Start one or more stopped containers
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------------|:---------|:--------|:----------------------------------------------------|
|
|:----------------------|:---------|:--------|:----------------------------------------------------|
|
||||||
| `-a`, `--attach` | | | Attach STDOUT/STDERR and forward signals |
|
| `-a`, `--attach` | `bool` | | Attach STDOUT/STDERR and forward signals |
|
||||||
| `--checkpoint` | `string` | | Restore from this checkpoint |
|
| `--checkpoint` | `string` | | Restore from this checkpoint |
|
||||||
| `--checkpoint-dir` | `string` | | Use a custom checkpoint storage directory |
|
| `--checkpoint-dir` | `string` | | Use a custom checkpoint storage directory |
|
||||||
| `--detach-keys` | `string` | | Override the key sequence for detaching a container |
|
| `--detach-keys` | `string` | | Override the key sequence for detaching a container |
|
||||||
| `-i`, `--interactive` | | | Attach container's STDIN |
|
| `-i`, `--interactive` | `bool` | | Attach container's STDIN |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -11,10 +11,10 @@ Display a live stream of container(s) resource usage statistics
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:--------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:--------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `-a`, `--all` | | | Show all containers (default shows just running) |
|
| `-a`, `--all` | `bool` | | Show all containers (default shows just running) |
|
||||||
| `--format` | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| `--format` | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `--no-stream` | | | Disable streaming stats and only pull the first result |
|
| `--no-stream` | `bool` | | Disable streaming stats and only pull the first result |
|
||||||
| `--no-trunc` | | | Do not truncate output |
|
| `--no-trunc` | `bool` | | Do not truncate output |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -10,10 +10,10 @@ Display and rotate the root CA
|
||||||
| `--ca-cert` | `pem-file` | | Path to the PEM-formatted root CA certificate to use for the new cluster |
|
| `--ca-cert` | `pem-file` | | Path to the PEM-formatted root CA certificate to use for the new cluster |
|
||||||
| `--ca-key` | `pem-file` | | Path to the PEM-formatted root CA key to use for the new cluster |
|
| `--ca-key` | `pem-file` | | Path to the PEM-formatted root CA key to use for the new cluster |
|
||||||
| `--cert-expiry` | `duration` | `2160h0m0s` | Validity period for node certificates (ns\|us\|ms\|s\|m\|h) |
|
| `--cert-expiry` | `duration` | `2160h0m0s` | Validity period for node certificates (ns\|us\|ms\|s\|m\|h) |
|
||||||
| [`-d`](#detach), [`--detach`](#detach) | | | Exit immediately instead of waiting for the root rotation to converge |
|
| [`-d`](#detach), [`--detach`](#detach) | `bool` | | Exit immediately instead of waiting for the root rotation to converge |
|
||||||
| `--external-ca` | `external-ca` | | Specifications of one or more certificate signing endpoints |
|
| `--external-ca` | `external-ca` | | Specifications of one or more certificate signing endpoints |
|
||||||
| `-q`, `--quiet` | | | Suppress progress output |
|
| `-q`, `--quiet` | `bool` | | Suppress progress output |
|
||||||
| [`--rotate`](#rotate) | | | Rotate the swarm CA - if no certificate or key are provided, new ones will be generated |
|
| [`--rotate`](#rotate) | `bool` | | Rotate the swarm CA - if no certificate or key are provided, new ones will be generated |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -8,7 +8,7 @@ Initialize a swarm
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:--------------------------------------------|:--------------|:---------------|:-----------------------------------------------------------------------------------------------------------------------------|
|
|:--------------------------------------------|:--------------|:---------------|:-----------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`--advertise-addr`](#advertise-addr) | `string` | | Advertised address (format: `<ip\|interface>[:port]`) |
|
| [`--advertise-addr`](#advertise-addr) | `string` | | Advertised address (format: `<ip\|interface>[:port]`) |
|
||||||
| [`--autolock`](#autolock) | | | Enable manager autolocking (requiring an unlock key to start a stopped manager) |
|
| [`--autolock`](#autolock) | `bool` | | Enable manager autolocking (requiring an unlock key to start a stopped manager) |
|
||||||
| [`--availability`](#availability) | `string` | `active` | Availability of the node (`active`, `pause`, `drain`) |
|
| [`--availability`](#availability) | `string` | `active` | Availability of the node (`active`, `pause`, `drain`) |
|
||||||
| `--cert-expiry` | `duration` | `2160h0m0s` | Validity period for node certificates (ns\|us\|ms\|s\|m\|h) |
|
| `--cert-expiry` | `duration` | `2160h0m0s` | Validity period for node certificates (ns\|us\|ms\|s\|m\|h) |
|
||||||
| [`--data-path-addr`](#data-path-addr) | `string` | | Address or interface to use for data path traffic (format: `<ip\|interface>`) |
|
| [`--data-path-addr`](#data-path-addr) | `string` | | Address or interface to use for data path traffic (format: `<ip\|interface>`) |
|
||||||
|
@ -17,7 +17,7 @@ Initialize a swarm
|
||||||
| `--default-addr-pool-mask-length` | `uint32` | `24` | default address pool subnet mask length |
|
| `--default-addr-pool-mask-length` | `uint32` | `24` | default address pool subnet mask length |
|
||||||
| `--dispatcher-heartbeat` | `duration` | `5s` | Dispatcher heartbeat period (ns\|us\|ms\|s\|m\|h) |
|
| `--dispatcher-heartbeat` | `duration` | `5s` | Dispatcher heartbeat period (ns\|us\|ms\|s\|m\|h) |
|
||||||
| [`--external-ca`](#external-ca) | `external-ca` | | Specifications of one or more certificate signing endpoints |
|
| [`--external-ca`](#external-ca) | `external-ca` | | Specifications of one or more certificate signing endpoints |
|
||||||
| [`--force-new-cluster`](#force-new-cluster) | | | Force create a new cluster from current state |
|
| [`--force-new-cluster`](#force-new-cluster) | `bool` | | Force create a new cluster from current state |
|
||||||
| [`--listen-addr`](#listen-addr) | `node-addr` | `0.0.0.0:2377` | Listen address (format: `<ip\|interface>[:port]`) |
|
| [`--listen-addr`](#listen-addr) | `node-addr` | `0.0.0.0:2377` | Listen address (format: `<ip\|interface>[:port]`) |
|
||||||
| [`--max-snapshots`](#max-snapshots) | `uint64` | `0` | Number of additional Raft snapshots to retain |
|
| [`--max-snapshots`](#max-snapshots) | `uint64` | `0` | Number of additional Raft snapshots to retain |
|
||||||
| [`--snapshot-interval`](#snapshot-interval) | `uint64` | `10000` | Number of log entries between Raft snapshots |
|
| [`--snapshot-interval`](#snapshot-interval) | `uint64` | `10000` | Number of log entries between Raft snapshots |
|
||||||
|
|
|
@ -6,9 +6,9 @@ Manage join tokens
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:-----|:--------|:-------------------|
|
|:----------------|:-------|:--------|:-------------------|
|
||||||
| `-q`, `--quiet` | | | Only display token |
|
| `-q`, `--quiet` | `bool` | | Only display token |
|
||||||
| `--rotate` | | | Rotate join token |
|
| `--rotate` | `bool` | | Rotate join token |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -6,8 +6,8 @@ Leave the swarm
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:-----|:--------|:------------------------------------------------------|
|
|:----------------|:-------|:--------|:------------------------------------------------------|
|
||||||
| `-f`, `--force` | | | Force this node to leave the swarm, ignoring warnings |
|
| `-f`, `--force` | `bool` | | Force this node to leave the swarm, ignoring warnings |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -6,9 +6,9 @@ Manage the unlock key
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:-----|:--------|:-------------------|
|
|:----------------|:-------|:--------|:-------------------|
|
||||||
| `-q`, `--quiet` | | | Only display token |
|
| `-q`, `--quiet` | `bool` | | Only display token |
|
||||||
| `--rotate` | | | Rotate unlock key |
|
| `--rotate` | `bool` | | Rotate unlock key |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -7,7 +7,7 @@ Update the swarm
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:-------------------------|:--------------|:------------|:------------------------------------------------------------|
|
|:-------------------------|:--------------|:------------|:------------------------------------------------------------|
|
||||||
| `--autolock` | | | Change manager autolocking setting (true\|false) |
|
| `--autolock` | `bool` | | Change manager autolocking setting (true\|false) |
|
||||||
| `--cert-expiry` | `duration` | `2160h0m0s` | Validity period for node certificates (ns\|us\|ms\|s\|m\|h) |
|
| `--cert-expiry` | `duration` | `2160h0m0s` | Validity period for node certificates (ns\|us\|ms\|s\|m\|h) |
|
||||||
| `--dispatcher-heartbeat` | `duration` | `5s` | Dispatcher heartbeat period (ns\|us\|ms\|s\|m\|h) |
|
| `--dispatcher-heartbeat` | `duration` | `5s` | Dispatcher heartbeat period (ns\|us\|ms\|s\|m\|h) |
|
||||||
| `--external-ca` | `external-ca` | | Specifications of one or more certificate signing endpoints |
|
| `--external-ca` | `external-ca` | | Specifications of one or more certificate signing endpoints |
|
||||||
|
|
|
@ -8,7 +8,7 @@ Show docker disk usage
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:----------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `-v`, `--verbose` | | | Show detailed information on space usage |
|
| `-v`, `--verbose` | `bool` | | Show detailed information on space usage |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -7,10 +7,10 @@ Remove unused data
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------------|:---------|:--------|:---------------------------------------------------|
|
|:----------------------|:---------|:--------|:---------------------------------------------------|
|
||||||
| `-a`, `--all` | | | Remove all unused images not just dangling ones |
|
| `-a`, `--all` | `bool` | | Remove all unused images not just dangling ones |
|
||||||
| [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `label=<key>=<value>`) |
|
| [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `label=<key>=<value>`) |
|
||||||
| `-f`, `--force` | | | Do not prompt for confirmation |
|
| `-f`, `--force` | `bool` | | Do not prompt for confirmation |
|
||||||
| `--volumes` | | | Prune anonymous volumes |
|
| `--volumes` | `bool` | | Prune anonymous volumes |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -6,8 +6,8 @@ Return low-level information about keys and signatures
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:-----------|:-----|:--------|:-------------------------------------------------|
|
|:-----------|:-------|:--------|:-------------------------------------------------|
|
||||||
| `--pretty` | | | Print the information in a human friendly format |
|
| `--pretty` | `bool` | | Print the information in a human friendly format |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -6,8 +6,8 @@ Remove trust for an image
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:--------------|:-----|:--------|:-------------------------------|
|
|:--------------|:-------|:--------|:-------------------------------|
|
||||||
| `-y`, `--yes` | | | Do not prompt for confirmation |
|
| `-y`, `--yes` | `bool` | | Do not prompt for confirmation |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -6,8 +6,8 @@ Sign an image
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------|:-----|:--------|:----------------------------|
|
|:----------|:-------|:--------|:----------------------------|
|
||||||
| `--local` | | | Sign a locally tagged image |
|
| `--local` | `bool` | | Sign a locally tagged image |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -6,8 +6,8 @@ Remove a signer
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:-----|:--------|:----------------------------------------------------------------------|
|
|:----------------|:-------|:--------|:----------------------------------------------------------------------|
|
||||||
| `-f`, `--force` | | | Do not prompt for confirmation before removing the most recent signer |
|
| `-f`, `--force` | `bool` | | Do not prompt for confirmation before removing the most recent signer |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -11,10 +11,10 @@ List volumes
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|:---------------------------------------|:---------|:--------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| `--cluster` | | | Display only cluster volumes, and use cluster volume list formatting |
|
| `--cluster` | `bool` | | Display only cluster volumes, and use cluster volume list formatting |
|
||||||
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `dangling=true`) |
|
| [`-f`](#filter), [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `dangling=true`) |
|
||||||
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
| [`--format`](#format) | `string` | | Format output using a custom template:<br>'table': Print output in table format with column headers (default)<br>'table TEMPLATE': Print output in table format using the given Go template<br>'json': Print in JSON format<br>'TEMPLATE': Print output using the given Go template.<br>Refer to https://docs.docker.com/go/formatting/ for more information about formatting output with templates |
|
||||||
| `-q`, `--quiet` | | | Only display volume names |
|
| `-q`, `--quiet` | `bool` | | Only display volume names |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -7,9 +7,9 @@ Remove unused local volumes
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:------------------------------|:---------|:--------|:---------------------------------------------------|
|
|:------------------------------|:---------|:--------|:---------------------------------------------------|
|
||||||
| [`-a`](#all), [`--all`](#all) | | | Remove all unused volumes, not just anonymous ones |
|
| [`-a`](#all), [`--all`](#all) | `bool` | | Remove all unused volumes, not just anonymous ones |
|
||||||
| [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `label=<label>`) |
|
| [`--filter`](#filter) | `filter` | | Provide filter values (e.g. `label=<label>`) |
|
||||||
| `-f`, `--force` | | | Do not prompt for confirmation |
|
| `-f`, `--force` | `bool` | | Do not prompt for confirmation |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
|
@ -12,8 +12,8 @@ Remove one or more volumes. You cannot remove a volume that is in use by a conta
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|:----------------|:-----|:--------|:-----------------------------------------|
|
|:----------------|:-------|:--------|:-----------------------------------------|
|
||||||
| `-f`, `--force` | | | Force the removal of one or more volumes |
|
| `-f`, `--force` | `bool` | | Force the removal of one or more volumes |
|
||||||
|
|
||||||
|
|
||||||
<!---MARKER_GEN_END-->
|
<!---MARKER_GEN_END-->
|
||||||
|
|
Loading…
Reference in New Issue