mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 18:13:42 +08:00 
			
		
		
		
	docs: add stubs for all commands
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
		
							
								
								
									
										32
									
								
								docs/reference/buildx.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								docs/reference/buildx.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,32 @@
 | 
				
			|||||||
 | 
					# buildx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					Usage:  docker buildx [OPTIONS] COMMAND
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Build with BuildKit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Options:
 | 
				
			||||||
 | 
					      --builder string   Override the configured builder instance
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Management Commands:
 | 
				
			||||||
 | 
					  imagetools  Commands to work on images in registry
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Commands:
 | 
				
			||||||
 | 
					  bake        Build from a file
 | 
				
			||||||
 | 
					  build       Start a build
 | 
				
			||||||
 | 
					  create      Create a new builder instance
 | 
				
			||||||
 | 
					  du          Disk usage
 | 
				
			||||||
 | 
					  inspect     Inspect current builder instance
 | 
				
			||||||
 | 
					  ls          List builder instances
 | 
				
			||||||
 | 
					  prune       Remove build cache
 | 
				
			||||||
 | 
					  rm          Remove a builder instance
 | 
				
			||||||
 | 
					  stop        Stop builder instance
 | 
				
			||||||
 | 
					  use         Set the current builder instance
 | 
				
			||||||
 | 
					  version     Show buildx version information
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Run 'docker buildx COMMAND --help' for more information on a command.
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Description
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Build with BuildKit
 | 
				
			||||||
							
								
								
									
										16
									
								
								docs/reference/buildx_du.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								docs/reference/buildx_du.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
				
			|||||||
 | 
					# buildx du
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					Usage:  docker buildx du
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Disk usage
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Options:
 | 
				
			||||||
 | 
					      --builder string   Override the configured builder instance
 | 
				
			||||||
 | 
					      --filter filter    Provide filter values
 | 
				
			||||||
 | 
					      --verbose          Provide a more verbose output
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Description
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Disk usage
 | 
				
			||||||
							
								
								
									
										19
									
								
								docs/reference/buildx_imagetools.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								docs/reference/buildx_imagetools.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
				
			|||||||
 | 
					# buildx imagetools
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					Usage:  docker buildx imagetools [OPTIONS] COMMAND
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Commands to work on images in registry
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Options:
 | 
				
			||||||
 | 
					      --builder string   Override the configured builder instance
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Commands:
 | 
				
			||||||
 | 
					  create      Create a new image based on source images
 | 
				
			||||||
 | 
					  inspect     Show details of image in the registry
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Description
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Imagetools contains commands for working with manifest lists in the registry.
 | 
				
			||||||
 | 
					These commands are useful for inspecting multi-platform build results.
 | 
				
			||||||
							
								
								
									
										19
									
								
								docs/reference/buildx_prune.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								docs/reference/buildx_prune.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
				
			|||||||
 | 
					# buildx prune
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					Usage:  docker buildx prune
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Remove build cache
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Options:
 | 
				
			||||||
 | 
					  -a, --all                  Remove all unused images, not just dangling ones
 | 
				
			||||||
 | 
					      --builder string       Override the configured builder instance
 | 
				
			||||||
 | 
					      --filter filter        Provide filter values (e.g. 'until=24h')
 | 
				
			||||||
 | 
					  -f, --force                Do not prompt for confirmation
 | 
				
			||||||
 | 
					      --keep-storage bytes   Amount of disk space to keep for cache
 | 
				
			||||||
 | 
					      --verbose              Provide a more verbose output
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Description
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Remove build cache
 | 
				
			||||||
							
								
								
									
										24
									
								
								docs/reference/buildx_version.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								docs/reference/buildx_version.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
				
			|||||||
 | 
					# buildx version
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					Usage:  docker buildx version
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Show buildx version information
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Options:
 | 
				
			||||||
 | 
					      --builder string   Override the configured builder instance
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Description
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Show buildx version information
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Examples
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### View version information
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```console
 | 
				
			||||||
 | 
					$ docker buildx version
 | 
				
			||||||
 | 
					github.com/docker/buildx v0.5.1-docker 11057da37336192bfc57d81e02359ba7ba848e4a
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
		Reference in New Issue
	
	Block a user