Commit Graph

31 Commits (b2ec1d331cb0865adb96714a12c954a60bfc5486)

Author SHA1 Message Date
Tibor Vass 2a257a8252 bake: allow overriding no-cache and pull per target via --set
Signed-off-by: Tibor Vass <tibor@docker.com>
5 years ago
Tibor Vass 417f52e001 bake: add --load and --push shorthands for --set
Signed-off-by: Tibor Vass <tibor@docker.com>
5 years ago
Tibor Vass 2bca8fa677 bake: allow pattern matching for target names in --set
Although bake is for running multiple targets, --set required a single
target name for overriding a property. This change allows matching
multiple targets for overrides.

Signed-off-by: Tibor Vass <tibor@docker.com>
5 years ago
Brandon Philips bae6b1cec8
README: add mkdir for .docker/cli-plugins
this dir doesn't exist by default so add a mkdir
5 years ago
Batuhan Apaydın 2def02ea74 added kubernetes driver information 5 years ago
Artur Klauser 14a28d7fc3
Update README.md 5 years ago
Artur Klauser 5ff7635447
Explain binfmt_misc requirements
Getting the QEMU interpreters to work transparently inside containers seems to be a bit of a sticking point, with major distributions still on kernels and/or binfmt-support package versions that don't support the fix_binary flag yet. Give the reader a little more guidance what to look out for.
5 years ago
Akihiro Suda 6b65b0c982 new driver: kubernetes
Tested with `kind` and GKE.

Note: "nodes" shown in `docker buildx ls` are unrelated to Kubernetes "nodes".
Probably buildx should come up with an alternative term.

Usage:

  $ kind create cluster
  $ export KUBECONFIG="$(kind get kubeconfig-path --name="kind")"

  $ docker buildx create --driver kubernetes --driver-opt replicas=3 --use
  $ docker buildx build -t foo --load .

`--load` loads the image into the local Docker.

Driver opts:

  - `image=IMAGE` - Sets the container image to be used for running buildkit.
  - `namespace=NS` - Sets the Kubernetes namespace. Defaults to the current namespace.
  - `replicas=N` - Sets the number of `Pod` replicas. Defaults to 1.
  - `rootless=(true|false)` - Run the container as a non-root user without `securityContext.privileged`. Defaults to false.
  - `loadbalance=(sticky|random)` - Load-balancing strategy. If set to "sticky", the pod is chosen using the hash of the context path. Defaults to "sticky"

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
5 years ago
Solomon Hykes d7adb9ef6e
Clarify documentation structure
Move a paragraph in README to clarify where it fits in the structure.

- Before the move, the paragraph seems to apply to the `--output=local` section when in fact it applies to the entire `--output` section. This is especially confusing for the sentence "if just the path is specified as a value, `buildx` will use the local exporter with this path as the destination".

- After the move, it is clear that the paragraph applies to `--output`
5 years ago
Xiang Dai 427c19d65c Update README.md
Comment that with docker 19.03-, can not use buildx as docker plugin.
5 years ago
gfrancesco e118c4d8e9
UPD: Readme typo 5 years ago
gracenoah 1c0a7f14e8
Fix some quotes in the readme 5 years ago
Tibor Vass 83da6a3378 docs: crosslink buildkitd-flags and config flags in create
Signed-off-by: Tibor Vass <tibor@docker.com>
6 years ago
Tibor Vass cad02a4681 docs: document build --allow
Signed-off-by: Tibor Vass <tibor@docker.com>
6 years ago
Tibor Vass be3efc979b docs: add documentation for --buildkitd-flags, --config, --driver-opt on create
Signed-off-by: Tibor Vass <tibor@docker.com>
6 years ago
Tibor Vass 5c5f54c6d6 docs: Update install instructions with Docker CE 19.03
Signed-off-by: Tibor Vass <tibor@docker.com>
6 years ago
Fernando Miguel c8cda08209
add chmod 6 years ago
khs1994 aed531a8a9
Fix Dockerfile format
Signed-off-by: Kang HuaiShuai <khs1994@khs1994.com>
6 years ago
Sebastiaan van Stijn 138b2e7415 Add contributing, code of conduct
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
6 years ago
Tibor Vass 77c23dd85f Update README to use --platform=local with Docker 19.03
Signed-off-by: Tibor Vass <tibor@docker.com>
6 years ago
Tibor Vass 5d0db8be7f
Merge pull request #64 from tonistiigi/skip-target
readme: simplify install instructions
6 years ago
Tõnis Tiigi 361f52ab6c
Merge pull request #65 from tiborvass/load-multiarch
Explain single-platform limitation of docker export type
6 years ago
Tibor Vass 707e17d05c Explain single-platform limitation of docker export type
Signed-off-by: Tibor Vass <tibor@docker.com>
6 years ago
Tibor Vass c222726c15 Add Linux Docker install instructions
Signed-off-by: Tibor Vass <tibor@docker.com>
6 years ago
Tonis Tiigi 25ae122153 readme: simplify install instructions
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
6 years ago
Bin Du c5a19f754f fix the typo in --cache-to example
Signed-off-by: Bin Du <bindu@microsoft.com>
6 years ago
Tibor Vass 93d21f1a86 Update install instructions in README
Signed-off-by: Tibor Vass <tibor@docker.com>
6 years ago
Tonis Tiigi 9e4a609346 readme: more guide content
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
6 years ago
Tonis Tiigi 1c35bc7d91 readme: better title formatting
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
6 years ago
Tonis Tiigi 94a0422a1b rename to docker/buildx
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
6 years ago
Tonis Tiigi 72924ac95f add readme
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Signed-off-by: Tibor Vass <tibor@docker.com>
6 years ago