CONTAINER-REBUILD(1)

πŸ“¦
this version Β· 4 versions
, in debian bookworm, ubuntu noble

πŸ’– CONTAINER-REBUILD πŸ’–

okay bestie, gather round, because this is container-rebuild(1) from the General Commands Manual and it is so much simpler than it sounds. it lives in the compute-tools family, and it does exactly one gorgeous thing: it restarts a container. that's it. that's the whole vibe. ✨


🌸 NAME 🌸

container-rebuild β€” Restart a container πŸ¦‹


✨ SYNOPSIS ✨

container rebuild ['OPTIONS']
cnt rb ['OPTIONS']

two ways in, same destination, no notes. container rebuild is the long form and cnt rb is the little nickname you use when you're typing fast and your nails are too long. πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

so here's the tea: the container rebuild command rebuilds a container by stopping, building, starting an existing container. stop β†’ build β†’ start. it's giving glow-up. it's giving makeover montage. your container goes down, gets rebuilt, and comes back up like nothing happened (except everything happened, and it's better now). πŸ‘‘


πŸ’œ OPTIONS πŸ’œ

here are the container rebuild options you've got, and yes, there are exactly three, we love a short list:

  • -n, --name='NAME' β€” specify the container name. and listen, plot twist: if you set it to 'ALL' it will rebuild all started container. (yes, all of them. at once. iconic behaviour honestly.)
  • -f, --force β€” do not fail if container is running. she's allowed to be mid-zoom-call, you just barge in anyway. πŸšͺ
  • -v, --verbose β€” explain what is being done. for the girlies who need the play-by-play commentary, not just the final score. πŸŽ™οΈ

🌈 EXAMPLES 🌈

Rebuild example.net container:

sudo container rebuild -n example.net

Restart all container:

sudo container rebuild -n ALL
note the sudo, bestie. you're not doing this one as a regular little user, you're doing it with power. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

go read those too, they're the supporting cast and they ate. 🫢


πŸ¦‹ HOMEPAGE πŸ¦‹

more information about compute-tools and the Open Infrastructure project can be found on the homepage (<https://open-infrastructure.net>). it's the mothership, go say hi. 🏠


πŸ’Œ CONTACT πŸ’Œ

bug reports, feature requests, help, patches, support and everything else are welcome on the Open Infrastructure Software Mailing List <software@lists.open-infrastructure.net>. literally everything else. bring your chaos, they want it. 😭

Debian specific bugs can also be reported in the Debian Bug Tracking System (<https://bugs.debian.org>). 🐞


πŸ‘‘ AUTHORS πŸ‘‘

compute-tools were written by Daniel Baumann <daniel.baumann@open-infrastructure.net> and others. absolute main character energy from Daniel and the crew, no cap. πŸ’…


okay that's the whole page!! every flag, every path, every email, every URL, all of it, nothing skipped, because we do not leave details behind in this group chat. πŸŽ€

this has been container-rebuild(1) from the compute-tools set, brought to you by Open Infrastructure β€” thanks for reading bestie, now go rebuild something and slay. πŸ’–βœ¨πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from