mirror of https://github.com/docker/buildx.git
				
				
				
			docs: add stubs for all commands
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
		
							parent
							
								
									1a8af33ff6
								
							
						
					
					
						commit
						87ec3af5bb
					
				|  | @ -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 | ||||||
|  | @ -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 | ||||||
|  | @ -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. | ||||||
|  | @ -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 | ||||||
|  | @ -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 | ||||||
|  | ``` | ||||||
		Loading…
	
		Reference in New Issue