Commit Graph

50 Commits (b05c3132042ebbc57584f3461743427cc5447ac2)

Author SHA1 Message Date
CrazyMax e3283e6169
Enhance readme
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
3 years ago
CrazyMax 3d48359e95
Create buildx image
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
4 years ago
Andy MacKinlay a07f5cdf42
note that buildx not in all distros
Signed-off-by: Andy MacKinlay <admackin@gmail.com>
4 years ago
Tonis Tiigi d7b28fb4d3 docs: update bake notes
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
4 years ago
Tonis Tiigi 9bc9291fc9 readme: update installation instructions
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
4 years ago
Sebastiaan van Stijn cd3a9ad38d
docs: address some review comments from the docs repository
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
4 years ago
Sebastiaan van Stijn ff749d8863
docs: split reference docs to separate files
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
4 years ago
Tõnis Tiigi 927163bf13
Merge pull request #481 from fauust/patch-1
Update README.md
4 years ago
faust 73fa351b1c
Update README.md
typo

Signed-off-by: Faustin Lammler <faustin@fala.red>
4 years ago
Hollow Man bea3acd4b6
Fix typos
defintion -> definition
avaialble -> available
registed -> registered

Signed-off-by: Hollow Man <hollowman@hollowman.ml>
4 years ago
Tõnis Tiigi 0360668cc1
Merge pull request #428 from zanven42/master
fixes #427: Handle empty strings in elements enabling conditional logic
4 years ago
Tonis Tiigi 5843e67a90 fix indentations in example
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
4 years ago
CrazyMax b1215c2ce2
GitHub Actions for test
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
4 years ago
Anthony Poschen bfd1ea3877 Added doco for conditonal tags in bake file.
Signed-off-by: Anthony Poschen <zanven42@gmail.com>
4 years ago
Wang Jinglei a7c704c39d feat: enhance kubernetes driver
Signed-off-by: Wang Jinglei <morlay.null@gmail.com>
4 years ago
Akihiro Suda 82c8f2d8f0
README.md: add usage of tonistiigi/binfmt
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
4 years ago
Donghui Wang e6be472831 update the content which not display in markdown
Signed-off-by: Donghui Wang <977675308@qq.com>
5 years ago
Patrick Van Stee 870b38837b Allow for user defined functions
Signed-off-by: Patrick Van Stee <patrick@vanstee.me>
5 years ago
Patrick Van Stee 10d4b7a878 Add example of interpolation to the README
Signed-off-by: Patrick Van Stee <patrick@vanstee.me>
5 years ago
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