LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

docker-buildx-stop

Stop a Docker Buildx builder instance

TLDR

Stop the current builder
$ docker buildx stop
copy
Stop a named builder
$ docker buildx stop [builder_name]
copy

SYNOPSIS

docker buildx stop [name]

DESCRIPTION

docker buildx stop stops the current builder, or the named builder if name is given. What "stop" does depends on the driver: a docker-container builder stops its BuildKit container; a kubernetes builder stops the BuildKit pods; a remote builder disconnects from the daemon. The builder instance itself remains registered and still appears in docker buildx ls.Stopping is not permanent. The next docker buildx build (or docker buildx inspect --bootstrap) starts the builder again. Use docker buildx rm when you want to delete the instance and its resources.

PARAMETERS

--builder name

Target a specific builder instance (overrides the currently selected builder).

INSTALL

sudo apt install docker-cli
copy
sudo dnf install docker-cli
copy
sudo pacman -S docker
copy
sudo apk add docker-cli
copy
sudo zypper install docker
copy
brew install docker
copy
nix profile install nixpkgs#docker
copy

CAVEATS

Stop does not block later builds from restarting the same builder. The default docker driver uses the Docker daemon's built-in builder, so stop typically has no lasting effect there. Driver-specific stop behavior is not configurable from this command.

SEE ALSO

RESOURCES

Copied to clipboard
Kai