mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-23 19:58:03 +08:00
feedback + updated examples + added links for h3 headings
Signed-off-by: sarahsanders-docker <sarah.sanders@docker.com>
This commit is contained in:

committed by
Tonis Tiigi

parent
4dac5295a1
commit
23ce21c341
@@ -22,20 +22,26 @@ pipelines.
|
||||
|
||||
## Examples
|
||||
|
||||
### Import a `.dockerbuild` archive into Docker Desktop
|
||||
### <a name="import-dockerbuild"></a> Import a `.dockerbuild` archive from standard input
|
||||
|
||||
```console
|
||||
docker buildx history import < mybuild.dockerbuild
|
||||
```
|
||||
|
||||
### Import a file using a specific path
|
||||
### <a name="import-build-archive"></a> Import a build archive from a file
|
||||
|
||||
```console
|
||||
docker buildx history import --file ./artifacts/backend-build.dockerbuild
|
||||
```
|
||||
|
||||
### Import a file and open it in Docker Desktop
|
||||
### <a name="open-build-manually"></a> Open a build manually
|
||||
|
||||
By default, the `import` command automatically opens the imported build in Docker
|
||||
Desktop. You don't need to run `open` unless you're opening a specific build
|
||||
or re-opening it later.
|
||||
|
||||
If you've imported multiple builds, you can open one manually:
|
||||
|
||||
```console
|
||||
docker buildx history import --file ./ci-build.dockerbuild && docker buildx history open ci-build
|
||||
docker buildx history open ci-build
|
||||
```
|
||||
|
Reference in New Issue
Block a user