DOCKER-BUILDX-USE(1)

πŸ“¦ version 0.13.1, in debian trixie

πŸŽ€ NAME πŸŽ€

docker-buildx-use β€” bestie, this is the one that sets your current builder instance. That's it, that's the whole job, and it slays at it. πŸ’…


✨ SYNOPSIS ✨

docker buildx use [OPTIONS] NAME

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture this: you've got multiple builder instances and you're tired of telling every single command which one you mean. Not anymore. This command switches the current builder instance, and every build command you run after it will run on that builder you just picked. Main character behaviour, honestly. πŸ‘‘

And like, plot twist β€” you can also hand it a context name, and it'll switch you to the default builder of that context. Versatile. We love her. πŸ’–


🌸 OPTIONS 🌸

  • --default[=false] β€” set the builder as the default for the current context. Wanna make it official? This is how. 🫢
  • --global[=false] β€” the builder persists across context changes. Lowkey the "I said what I said" flag.
  • -h, --help[=false] β€” help for use. Your lil cheat sheet, always there for you. πŸ’œ

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

  • --builder="" β€” override the configured builder instance. The parent command passes this down, so it's here too. iykyk. ✨

πŸ“ EXAMPLE πŸ“

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

Same as buildx --builder β€” go peep /reference/cli/docker/buildx/#builder for the full tea. β˜•


πŸ‘‘ SEE ALSO πŸ‘‘


And that's the whole page, bestie β€” no cap. 🧚

This was the docker-buildx-use(1) manual page, dated Apr 2025, from the Docker buildx docs. Go build something iconic with it. Periodt. πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from