66672b4052 
								
							
								 
							
						 
						
							
							
								
								commands: add prune command  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								5e4444823c 
								
							
								 
							
						 
						
							
							
								
								build: only use env for args if set  
							
							... 
							
							
							
							When following this pattern:
  buildx build --arg FOO
Where we want to pull `FOO` from env, currently we always set `FOO`
regardless if the `FOO` env var is even set.
This change makes it so that `FOO` would only be set if it has been set
in the env (even if it is set to empty).
Signed-off-by: Brian Goff <cpuguy83@gmail.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								c6f8de90aa 
								
							
								 
							
						 
						
							
							
								
								kubernetes: show Kubernetes Pods as buildx "Nodes" in `docker buildx inspect`  
							
							... 
							
							
							
							Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								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> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								eb1aabe9e3 
								
							
								 
							
						 
						
							
							
								
								imagetools: avoid printing newline on raw mode  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								75b80c277f 
								
							
								 
							
						 
						
							
							
								
								driver: allow setting driver opts  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								096d1befc9 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #104  from tonistiigi/entitlements  
							
							... 
							
							
							
							build: add allowed entitlements 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								8ed8795268 
								
							
								 
							
						 
						
							
							
								
								driver: allow setting buildkit config file  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Co-Authored-By: Tibor Vass <tiborvass@users.noreply.github.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								8b2171f78a 
								
							
								 
							
						 
						
							
							
								
								bake: honor --no-cache and --pull  
							
							... 
							
							
							
							Signed-off-by: Tibor Vass <tibor@docker.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								43150ef849 
								
							
								 
							
						 
						
							
							
								
								build: load default build args from env  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								6b81b0bed6 
								
							
								 
							
						 
						
							
							
								
								build: add allowed entitlements  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								f0af89a204 
								
							
								 
							
						 
						
							
							
								
								driver: allow configuring buildkitd flags  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							6 years ago  
				
					
						
							
							
								 
						
							
							
								eee78c6c10 
								
							
								 
							
						 
						
							
							
								
								Put driver names to create --help  
							
							... 
							
							
							
							Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								03ae6f8e54 
								
							
								 
							
						 
						
							
							
								
								vendor: update docker/cli (ab688a9a79a1) and docker/docker (3998dffb806f)  
							
							... 
							
							
							
							Signed-off-by: Tibor Vass <tibor@docker.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								715d38ff96 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #75  from tonistiigi/update-buildkit  
							
							... 
							
							
							
							vendor: update buildkit to f238f1e 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								717a4afae0 
								
							
								 
							
						 
						
							
							
								
								build: add missing flags  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b68b005f68 
								
							
								 
							
						 
						
							
							
								
								vendor: update buildkit to f238f1e  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e23e4a6bdc 
								
							
								 
							
						 
						
							
							
								
								Correct help output for default bake file.  
							
							... 
							
							
							
							Signed-off-by: Brian Goff <cpuguy83@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								94a0422a1b 
								
							
								 
							
						 
						
							
							
								
								rename to docker/buildx  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								6abbf0ee76 
								
							
								 
							
						 
						
							
							
								
								commands: add version command  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								0398fa337b 
								
							
								 
							
						 
						
							
							
								
								build: multi-node build support  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								96b1892b63 
								
							
								 
							
						 
						
							
							
								
								imagetools: push support for create  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								80ad78e372 
								
							
								 
							
						 
						
							
							
								
								imagetools: add create support  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								01b97022fc 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #43  from tiborvass/apiversion-negotiate  
							
							... 
							
							
							
							Negotiate API versions to allow talking with older docker daemons 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								f10c9a5de1 
								
							
								 
							
						 
						
							
							
								
								Negotiate API versions to allow talking with older docker daemons  
							
							... 
							
							
							
							Signed-off-by: Tibor Vass <tibor@docker.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								005088e1e6 
								
							
								 
							
						 
						
							
							
								
								commands: fix using ssh endpoint directly  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								bca7bf28f9 
								
							
								 
							
						 
						
							
							
								
								commands: avoid creating instance from tls environment  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e8585b708d 
								
							
								 
							
						 
						
							
							
								
								commands: check current context when switching to default  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e94d215291 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #34  from tiborvass/docker-alias  
							
							... 
							
							
							
							install/uninstall: allow aliasing buildx to `docker builder` 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								6e3dfe72cb 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #31  from tonistiigi/platforms-fixes  
							
							... 
							
							
							
							fixes for managing platforms 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								416b7bb23f 
								
							
								 
							
						 
						
							
							
								
								install/uninstall: allow aliasing buildx to `docker builder`  
							
							... 
							
							
							
							Currently the user can type `docker buildx` to use this tool.
This patch allows the user to install buildx as a `docker builder` alias.
As an additional benefit, this allows the regular `docker build` to hook
into `buildx build`.
Note that the install and uninstall commands are currently hidden.
Signed-off-by: Tibor Vass <tibor@docker.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								7f474ed28e 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #33  from tonistiigi/remote-cache  
							
							... 
							
							
							
							build: add cache-from and cache-to support 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								96a148020a 
								
							
								 
							
						 
						
							
							
								
								build: add cache-from and cache-to support  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								6eeb21f87e 
								
							
								 
							
						 
						
							
							
								
								rm: remove builder even if driver is not responsive  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e40318e2cc 
								
							
								 
							
						 
						
							
							
								
								commands: add platforms dedupe  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								e773d0eb2a 
								
							
								 
							
						 
						
							
							
								
								util: add platformutil  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								aa421f9c9e 
								
							
								 
							
						 
						
							
							
								
								build: add push and load flags  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								cac37434aa 
								
							
								 
							
						 
						
							
							
								
								build: add docker output for non-moby drivers  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								6b0928d9d2 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #27  from tiborvass/docker-ui  
							
							... 
							
							
							
							build: add more docker UI (context/dockerfile handling, iidfile, add-host, network) 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								fc2a28b639 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #25  from tonistiigi/imagetools  
							
							... 
							
							
							
							imagetools: initial partial implementation 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								635e393ae5 
								
							
								 
							
						 
						
							
							
								
								build: handle --network  
							
							... 
							
							
							
							Signed-off-by: Tibor Vass <tibor@docker.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								77ed999572 
								
							
								 
							
						 
						
							
							
								
								build: handle --add-host  
							
							... 
							
							
							
							Signed-off-by: Tibor Vass <tibor@docker.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								dc07613bd2 
								
							
								 
							
						 
						
							
							
								
								build: support more variations on context and dockerfile + iidfile  
							
							... 
							
							
							
							Signed-off-by: Tibor Vass <tibor@docker.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								81b35147e4 
								
							
								 
							
						 
						
							
							
								
								build: do not error out if --network is default  
							
							... 
							
							
							
							Signed-off-by: Tibor Vass <tibor@docker.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								0a28ec6f38 
								
							
								 
							
						 
						
							
							
								
								imagetools: implement inspect for manifest list  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								a0719aee88 
								
							
								 
							
						 
						
							
							
								
								commands: imagetools stubs  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								103b452876 
								
							
								 
							
						 
						
							
							
								
								commands: add missing flags as hidden in build  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								f7dac5a178 
								
							
								 
							
						 
						
							
							
								
								commands: fix invalid reload on boot  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								0f4de0d7e4 
								
							
								 
							
						 
						
							
							
								
								commands: implement ls  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								b7e15f3113 
								
							
								 
							
						 
						
							
							
								
								commands: implementation for inspect  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								bd3d5cd19e 
								
							
								 
							
						 
						
							
							
								
								commands: add implementations for create, use, rm, stop  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								950180ed82 
								
							
								 
							
						 
						
							
							
								
								commands: driver management command stubs  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								81d689e2e4 
								
							
								 
							
						 
						
							
							
								
								cmd: allow invoking without plugin  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								8fed6d4d31 
								
							
								 
							
						 
						
							
							
								
								bake: rename compose file  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								a932d52e35 
								
							
								 
							
						 
						
							
							
								
								bake: initial implementation  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								15dae19cf8 
								
							
								 
							
						 
						
							
							
								
								driver: add client method  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								a6d893efca 
								
							
								 
							
						 
						
							
							
								
								driver: add logging support to bootstrap  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								f302881c0d 
								
							
								 
							
						 
						
							
							
								
								driver: start implemeting bootstrap for docker  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								4b0c0468d0 
								
							
								 
							
						 
						
							
							
								
								build: basis of build command  
							
							... 
							
							
							
							Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> 
							
						 
						
							7 years ago