* [ Volumes top-level element  ](/compose/compose-file/07-volumes/ "Volumes top-level element")
      * [ Configs top-level element  ](/compose/compose-file/08-configs/ "Configs top-level element")
      * [ Secrets top-level element  ](/compose/compose-file/09-secrets/ "Secrets top-level element")
      * [ Fragments  ](/compose/compose-file/10-fragments/ "Fragments")
      * [ Extensions  ](/compose/compose-file/11-extension/ "Extensions")
      * [ Interpolation  ](/compose/compose-file/12-interpolation/ "Interpolation")
      * [ Merge  ](/compose/compose-file/13-merge/ "Merge")
      * [ Include  ](/compose/compose-file/14-include/ "Include")
      * [ Profiles  ](/compose/compose-file/15-profiles/ "Profiles")
    * [ Compose Build Specification  ](/compose/compose-file/build/ "Compose Build Specification")
    * [ Compose Deploy Specification  ](/compose/compose-file/deploy/ "Compose Deploy Specification")
    * [ Compose Develop Specification  ](/compose/compose-file/develop/ "Compose Develop Specification")
    * Legacy versions 
      * [ About versions and upgrading  ](/compose/compose-file/compose-versioning/ "About versions and upgrading")
      * [ Version 3  ](/compose/compose-file/compose-file-v3/ "Version 3")
      * [ Version 2  ](/compose/compose-file/compose-file-v2/ "Version 2")
  * [ Glossary  ](/glossary/ "Glossary")

[ Reference ](/reference/) /  [ CLI reference ](/reference/cli/docker/) /  [
docker buildx ](/reference/cli/docker/buildx/) /  docker buildx

#  docker buildx

Description  |  Docker Buildx   
---|---  
  
##  Description

Extended build capabilities with BuildKit

##  Options

Option  |  Default  |  Description   
---|---|---  
` --builder ` |  |  Override the configured builder instance   
  
##  Examples

###  Override the configured builder instance (--builder)

You can also use the ` BUILDX_BUILDER ` environment variable.

##  Subcommands

Command  |  Description   
---|---  
[ ` docker buildx bake ` ](https://docs.docker.com/reference/cli/docker/buildx/bake/) |  Build from a file   
[ ` docker buildx build ` ](https://docs.docker.com/reference/cli/docker/buildx/build/) |  Start a build   
[ ` docker buildx create ` ](https://docs.docker.com/reference/cli/docker/buildx/create/) |  Create a new builder instance   
[ ` docker buildx debug ` ](https://docs.docker.com/reference/cli/docker/buildx/debug/) |  Start debugger   
[ ` docker buildx du ` ](https://docs.docker.com/reference/cli/docker/buildx/du/) |  Disk usage   
[ ` docker buildx imagetools ` ](https://docs.docker.com/reference/cli/docker/buildx/imagetools/) |  Commands to work on images in registry   
[ ` docker buildx inspect ` ](https://docs.docker.com/reference/cli/docker/buildx/inspect/) |  Inspect current builder instance   
[ ` docker buildx ls ` ](https://docs.docker.com/reference/cli/docker/buildx/ls/) |  List builder instances   
[ ` docker buildx prune ` ](https://docs.docker.com/reference/cli/docker/buildx/prune/) |  Remove build cache   
[ ` docker buildx rm ` ](https://docs.docker.com/reference/cli/docker/buildx/rm/) |  Remove one or more builder instances   
[ ` docker buildx stop ` ](https://docs.docker.com/reference/cli/docker/buildx/stop/) |  Stop builder instance   
[ ` docker buildx use ` ](https://docs.docker.com/reference/cli/docker/buildx/use/) |  Set the current builder instance   
[ ` docker buildx version ` ](https://docs.docker.com/reference/cli/docker/buildx/version/) |  Show buildx version information   
  
Contents

  * Description 
  * Options 
  * Examples 
  * Override the configured builder instance (--builder) 
  * Subcommands 

[ Product offerings ](https://www.docker.com/) [ Pricing
](https://www.docker.com/pricing/) [ About us
](https://www.docker.com/company/) [ Support
](https://www.docker.com/support/) [ Contribute
](https://github.com/docker/docs/blob/main/CONTRIBUTING.md)

* * *

Copyright Â© 2013-2024 Docker Inc. All rights reserved.

[ ](http://twitter.com/docker/ "X \(Twitter\)")