CONTAINER-STOP(1)

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

✨ CONTAINER-STOP ✨

okay bestie, welcome to container-stop(1) from the General Commands Manual β€” this is the lil glow-up guide for telling a container to go night-night πŸ’€


🌸 NAME 🌸

container-stop β€” stop a container, that's it, that's the whole vibe 🫢


πŸŽ€ SYNOPSIS πŸŽ€

container stop ['OPTIONS']
cnt t ['OPTIONS']

two ways in, same energy. pick your fighter ✨


πŸ’– DESCRIPTION πŸ’–

The container stop command stops a container by running the proper shutdown sequence. like, the polite way. the "we're not just yanking the plug" way. the main character exits gracefully and everyone claps πŸ‘‘


πŸ’… OPTIONS πŸ’…

here's the full menu of container stop options, no skips, no cuts, we're doing all of them:

  • -n, --name='NAME' β€” Specify container name. and oop, if you say 'ALL' it will stop all started container. yes, every single one. go big or go home πŸ’€
  • -f, --force β€” Do not prompt before every stopping. no questions, no waiting, just do it πŸƒβ€β™€οΈ
  • -i, --interactive β€” Prompt before every stopping. this one is the default, so if you don't say anything, it's gonna ask you first. consent era fr fr πŸ™ˆ
  • -k, --kill β€” Instead of running the proper shutdown sequence, terminate all processes of the container imediatly. (yes, "imediatly", we're quoting the original letter for letter, don't come for me 😭) it's giving chaos, it's giving unhinged. it works, but bestie, it's rude.
  • -v, --verbose β€” Explain what is being done. narration on, commentary on, we love a container that tells us the tea πŸ“

🌈 EXAMPLES 🌈

✨ Shutdown example.net container:

sudo container stop -n example.net

✨ Shutdown example.net container without prompting:

sudo container stop -n example.net -f

✨ Immediately stop example.net container:

sudo container stop -n example.net -k

✨ Stop all container:

sudo container stop -n ALL

look at you go, slaying across the board πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹

go read those too, iykyk πŸ“š


🌐 HOMEPAGE 🌐

More information about compute-tools and the Open Infrastructure project can be found on the homepage (<https://open-infrastructure.net>). lowkey iconic of them to have a homepage ngl πŸ’œ


πŸ’Œ 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.

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

literally bring them anything, they said "everything else" and they meant it 🫢


πŸ‘‘ AUTHORS πŸ‘‘

compute-tools were written by Daniel Baumann <‐ daniel.baumann@open-infrastructure.net> and others. the "and others" is doing a lot of heavy lifting and honestly, respect 🌸


heads up bestie: -i, --interactive is the default behaviour, so if you want zero prompts you gotta reach for -f, --force. and -k, --kill skips the proper shutdown sequence entirely β€” that's the big red flag option, use it on purpose, not by accident πŸ’€

and that's a wrap on container-stop(1) from the Open Infrastructure peeps, part of compute-tools ✨ periodt πŸ’…

πŸ“¦ where this page comes from