forked from docker/buildx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request docker#818 from crazy-max/fix-builder-flag
cli: fix builder persistent flag
- Loading branch information
Showing
34 changed files
with
277 additions
and
172 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
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
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
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ Inspect current builder instance | |
| Name | Description | | ||
| --- | --- | | ||
| [`--bootstrap`](#bootstrap) | Ensure builder has booted before inspecting | | ||
| `--builder string` | Override the configured builder instance | | ||
| [`--builder string`](#builder) | Override the configured builder instance | | ||
|
||
|
||
<!---MARKER_GEN_END--> | ||
|
@@ -23,6 +23,19 @@ Shows information about the current or specified builder. | |
|
||
## Examples | ||
|
||
### <a name="bootstrap"></a> Ensure that the builder is running before inspecting (--bootstrap) | ||
|
||
Use the `--bootstrap` option to ensure that the builder is running before | ||
inspecting it. If the driver is `docker-container`, then `--bootstrap` starts | ||
the buildkit container and waits until it is operational. Bootstrapping is | ||
automatically done during build, and therefore not necessary. The same BuildKit | ||
container is used during the lifetime of the associated builder node (as | ||
displayed in `buildx ls`). | ||
|
||
### <a name="builder"></a> Override the configured builder instance (--builder) | ||
|
||
Same as [`buildx --builder`](buildx.md#builder). | ||
|
||
### Get information about a builder instance | ||
|
||
By default, `inspect` shows information about the current builder. Specify the | ||
|
@@ -47,12 +60,3 @@ Endpoint: ssh://[email protected] | |
Status: running | ||
Platforms: linux/arm64, linux/arm/v7, linux/arm/v6 | ||
``` | ||
|
||
### <a name="bootstrap"></a> Ensure that the builder is running before inspecting (--bootstrap) | ||
|
||
Use the `--bootstrap` option to ensure that the builder is running before | ||
inspecting it. If the driver is `docker-container`, then `--bootstrap` starts | ||
the buildkit container and waits until it is operational. Bootstrapping is | ||
automatically done during build, and therefore not necessary. The same BuildKit | ||
container is used during the lifetime of the associated builder node (as | ||
displayed in `buildx ls`). |
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
Oops, something went wrong.