Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _vendor/modules.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# github.com/moby/moby v28.0.1+incompatible
# github.com/moby/buildkit v0.20.1
# github.com/docker/buildx v0.21.3
# github.com/docker/buildx v0.22.0
# github.com/docker/cli v28.0.1+incompatible
# github.com/docker/compose/v2 v2.34.0
# github.com/docker/scout-cli v1.15.0
16 changes: 16 additions & 0 deletions content/reference/cli/docker/buildx/history/import.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
datafolder: buildx
datafile: docker_buildx_history_import
title: docker buildx history import
layout: cli
aliases:
- /engine/reference/commandline/buildx_history_import/
---

<!--
This page is automatically generated from Docker's source code. If you want to
suggest a change to the text that appears here, open a ticket or pull request
in the source repository on GitHub:

https://github.com/docker/buildx
-->
27 changes: 24 additions & 3 deletions data/buildx/docker_buildx_bake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -515,18 +515,22 @@ examples: |-
```console
$ docker buildx bake --set target.args.mybuildarg=value
$ docker buildx bake --set target.platform=linux/arm64
$ docker buildx bake --set foo*.args.mybuildarg=value # overrides build arg for all targets starting with 'foo'
$ docker buildx bake --set *.platform=linux/arm64 # overrides platform for all targets
$ docker buildx bake --set foo*.no-cache # bypass caching only for targets starting with 'foo'
$ docker buildx bake --set foo*.args.mybuildarg=value # overrides build arg for all targets starting with 'foo'
$ docker buildx bake --set *.platform=linux/arm64 # overrides platform for all targets
$ docker buildx bake --set foo*.no-cache # bypass caching only for targets starting with 'foo'
$ docker buildx bake --set target.platform+=linux/arm64 # appends 'linux/arm64' to the platform list
```

You can override the following fields:

* `annotations`
* `attest`
* `args`
* `cache-from`
* `cache-to`
* `context`
* `dockerfile`
* `entitlements`
* `labels`
* `load`
* `no-cache`
Expand All @@ -539,6 +543,23 @@ examples: |-
* `ssh`
* `tags`
* `target`

You can append using `+=` operator for the following fields:

* `annotations`¹
* `attest`¹
* `cache-from`
* `cache-to`
* `entitlements`¹
* `no-cache-filter`
* `output`
* `platform`
* `secrets`
* `ssh`
* `tags`

> [!NOTE]
> ¹ These fields already append by default.
deprecated: false
hidden: false
experimental: false
Expand Down
2 changes: 2 additions & 0 deletions data/buildx/docker_buildx_history.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ usage: docker buildx history
pname: docker buildx
plink: docker_buildx.yaml
cname:
- docker buildx history import
- docker buildx history inspect
- docker buildx history logs
- docker buildx history ls
- docker buildx history open
- docker buildx history rm
- docker buildx history trace
clink:
- docker_buildx_history_import.yaml
- docker_buildx_history_inspect.yaml
- docker_buildx_history_logs.yaml
- docker_buildx_history_ls.yaml
Expand Down
46 changes: 46 additions & 0 deletions data/buildx/docker_buildx_history_import.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
command: docker buildx history import
short: Import a build into Docker Desktop
long: Import a build into Docker Desktop
usage: docker buildx history import [OPTIONS] < bundle.dockerbuild
pname: docker buildx history
plink: docker_buildx_history.yaml
options:
- option: file
shorthand: f
value_type: stringArray
default_value: '[]'
description: Import from a file path
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
inherited_options:
- option: builder
value_type: string
description: Override the configured builder instance
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
- option: debug
shorthand: D
value_type: bool
default_value: "false"
description: Enable debug logging
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false
deprecated: false
hidden: false
experimental: false
experimentalcli: false
kubernetes: false
swarm: false

4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/docker/docs
go 1.23.6

require (
github.com/docker/buildx v0.21.3 // indirect
github.com/docker/buildx v0.22.0 // indirect
github.com/docker/cli v28.0.1+incompatible // indirect
github.com/docker/compose/v2 v2.34.0 // indirect
github.com/docker/scout-cli v1.15.0 // indirect
Expand All @@ -12,7 +12,7 @@ require (
)

replace (
github.com/docker/buildx => github.com/docker/buildx v0.21.3
github.com/docker/buildx => github.com/docker/buildx v0.22.0
github.com/docker/cli => github.com/docker/cli v28.0.1+incompatible
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.34.0
github.com/docker/scout-cli => github.com/docker/scout-cli v1.15.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ github.com/docker/buildx v0.21.2 h1:r09paH8q9nvAX2PR1ntRrc+C6FBH93bvKUsn1WOb/jU=
github.com/docker/buildx v0.21.2/go.mod h1:8V4UMnlKsaGYwz83BygmIbJIFEAYGHT6KAv8akDZmqo=
github.com/docker/buildx v0.21.3 h1:LEmhk3D9WOboMeC+hlfOUnB1jylXcDfGHjqAL7Tvwks=
github.com/docker/buildx v0.21.3/go.mod h1:8V4UMnlKsaGYwz83BygmIbJIFEAYGHT6KAv8akDZmqo=
github.com/docker/buildx v0.22.0 h1:pGTcGZa+kxpYUlM/6ACsp1hXhkEDulz++RNXPdE8Afk=
github.com/docker/buildx v0.22.0/go.mod h1:ThbnUe4kNiStlq6cLXruElyEdSTdPL3k/QerNUmPvHE=
github.com/docker/cli v24.0.2+incompatible h1:QdqR7znue1mtkXIJ+ruQMGQhpw2JzMJLRXp6zpzF6tM=
github.com/docker/cli v24.0.2+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
github.com/docker/cli v24.0.4+incompatible h1:Y3bYF9ekNTm2VFz5U/0BlMdJy73D+Y1iAAZ8l63Ydzw=
Expand Down