mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 10:03:42 +08:00 
			
		
		
		
	
		
			
				
	
	
	
		
			990 B
		
	
	
	
	
	
	
	
			
		
		
	
	
			990 B
		
	
	
	
	
	
	
	
buildx use
docker buildx use [OPTIONS] NAME
Set the current builder instance
Options
| Name | Type | Default | Description | 
|---|---|---|---|
--builder | 
string | 
Override the configured builder instance | |
--default | 
Set builder as default for current context | ||
--global | 
Builder persists context changes | 
Description
Switches the current builder instance. Build commands invoked after this command will run on a specified builder. Alternatively, a context name can be used to switch to the default builder of that context.
Examples
Override the configured builder instance (--builder)
Same as buildx --builder.