-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep frontmatter for docker, dockerd and index markdown files. Also needs to move cli.md > docker.md before generation and then move it back because cli.md is needed for yaml generation on docs website: #3924 (comment) Signed-off-by: Kevin Alvarez <crazy-max@users.noreply.github.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Loading branch information
Showing
194 changed files
with
3,439 additions
and
2,786 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# builder | ||
|
||
<!---MARKER_GEN_START--> | ||
Manage builds | ||
|
||
### Subcommands | ||
|
||
| Name | Description | | ||
|:----------------------------|:---------------------------------| | ||
| [`build`](builder_build.md) | Build an image from a Dockerfile | | ||
| [`prune`](builder_prune.md) | Remove build cache | | ||
|
||
|
||
|
||
<!---MARKER_GEN_END--> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# builder build | ||
|
||
<!---MARKER_GEN_START--> | ||
Build an image from a Dockerfile | ||
|
||
### Aliases | ||
|
||
`docker image build`, `docker build`, `docker buildx build`, `docker builder build` | ||
|
||
### Options | ||
|
||
| Name | Type | Default | Description | | ||
|:--------------------------|:--------------|:----------|:------------------------------------------------------------------| | ||
| `--add-host` | `list` | | Add a custom host-to-IP mapping (`host:ip`) | | ||
| `--build-arg` | `list` | | Set build-time variables | | ||
| `--cache-from` | `stringSlice` | | Images to consider as cache sources | | ||
| `--cgroup-parent` | `string` | | Optional parent cgroup for the container | | ||
| `--compress` | | | Compress the build context using gzip | | ||
| `--cpu-period` | `int64` | `0` | Limit the CPU CFS (Completely Fair Scheduler) period | | ||
| `--cpu-quota` | `int64` | `0` | Limit the CPU CFS (Completely Fair Scheduler) quota | | ||
| `-c`, `--cpu-shares` | `int64` | `0` | CPU shares (relative weight) | | ||
| `--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) | | ||
| `--disable-content-trust` | | | Skip image verification | | ||
| `-f`, `--file` | `string` | | Name of the Dockerfile (Default is `PATH/Dockerfile`) | | ||
| `--force-rm` | | | Always remove intermediate containers | | ||
| `--iidfile` | `string` | | Write the image ID to the file | | ||
| `--isolation` | `string` | | Container isolation technology | | ||
| `--label` | `list` | | Set metadata for an image | | ||
| `-m`, `--memory` | `bytes` | `0` | Memory limit | | ||
| `--memory-swap` | `bytes` | `0` | Swap limit equal to memory plus swap: -1 to enable unlimited swap | | ||
| `--network` | `string` | `default` | Set the networking mode for the RUN instructions during build | | ||
| `--no-cache` | | | Do not use cache when building the image | | ||
| `--platform` | `string` | | Set platform if server is multi-platform capable | | ||
| `--pull` | | | Always attempt to pull a newer version of the image | | ||
| `-q`, `--quiet` | | | Suppress the build output and print image ID on success | | ||
| `--rm` | | | Remove intermediate containers after a successful build | | ||
| `--security-opt` | `stringSlice` | | Security options | | ||
| `--shm-size` | `bytes` | `0` | Size of `/dev/shm` | | ||
| `--squash` | | | Squash newly built layers into a single new layer | | ||
| `-t`, `--tag` | `list` | | Name and optionally a tag in the `name:tag` format | | ||
| `--target` | `string` | | Set the target build stage to build. | | ||
| `--ulimit` | `ulimit` | | Ulimit options | | ||
|
||
|
||
<!---MARKER_GEN_END--> | ||
|
||
## Description | ||
|
||
See [docker build](build.md) for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# builder prune | ||
|
||
<!---MARKER_GEN_START--> | ||
Remove build cache | ||
|
||
### Options | ||
|
||
| Name | Type | Default | Description | | ||
|:-----------------|:---------|:--------|:------------------------------------------------------| | ||
| `-a`, `--all` | | | Remove all unused build cache, not just dangling ones | | ||
| `--filter` | `filter` | | Provide filter values (e.g. `until=24h`) | | ||
| `-f`, `--force` | | | Do not prompt for confirmation | | ||
| `--keep-storage` | `bytes` | `0` | Amount of disk space to keep for cache | | ||
|
||
|
||
<!---MARKER_GEN_END--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# checkpoint create | ||
|
||
<!---MARKER_GEN_START--> | ||
Create a checkpoint from a running container | ||
|
||
### Options | ||
|
||
| Name | Type | Default | Description | | ||
|:-------------------|:---------|:--------|:---------------------------------------------| | ||
| `--checkpoint-dir` | `string` | | Use a custom checkpoint storage directory | | ||
| `--leave-running` | | | Leave the container running after checkpoint | | ||
|
||
|
||
<!---MARKER_GEN_END--> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# checkpoint ls | ||
|
||
<!---MARKER_GEN_START--> | ||
List checkpoints for a container | ||
|
||
### Aliases | ||
|
||
`docker checkpoint ls`, `docker checkpoint list` | ||
|
||
### Options | ||
|
||
| Name | Type | Default | Description | | ||
|:-------------------|:---------|:--------|:------------------------------------------| | ||
| `--checkpoint-dir` | `string` | | Use a custom checkpoint storage directory | | ||
|
||
|
||
<!---MARKER_GEN_END--> | ||
|
Oops, something went wrong.