CONTAINER-UPDATE(1)

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

πŸ’… CONTAINER-UPDATE(1) β€” the group chat version

okay bestie, welcome to the General Commands Manual for container-update, which lives in the compute-tools family. pull up a chair, grab a strawberry πŸ“, and let's get you fluent. no cap.


✨ NAME ✨

container-update β€” update the packages installed in a container πŸ¦‹


🌸 SYNOPSIS 🌸

container update ['OPTIONS']
cnt u ['OPTIONS']

that's it. that's the whole vibe. two ways in, same energy. πŸ’…


πŸ‘‘ DESCRIPTION πŸ‘‘

the container update command updates packages installed in a container. literally that's the job. it goes in, it updates the packages, it comes back. main character behavior fr fr.


πŸŽ€ OPTIONS πŸŽ€

here's the full menu, no skips, no cuts, every single one is here:

  • -n, --name='NAME' β€” say which container you mean. and listen, if you pass 'ALL' it will start all stopped container. yes, all of them. iconic. πŸ‘‘
  • -f, --full-upgrade β€” runs an additional apt full-upgrade after apt upgrade. so it's the upgrade plus the upgrade upgrade. obsessed.
  • -i, --interactive β€” prompts you before every container update. it will literally ask you first, every time, like a polite lil bestie. πŸ™ˆ
  • -r, --autoremove β€” runs an additional apt autoremove after apt upgrade. bye bye to the leftovers. πŸ’€
  • -p, --purge β€” passes --purge to apt autoremove. so those leftovers? gone gone, configs and all.
  • -y|--yes β€” passes yes to all questions asked by the package manager. zero questions, zero waiting, pure momentum. πŸ”₯

🌈 EXAMPLES 🌈

these are the moments, bestie. copy them exactly, don't freestyle the flags:

update the example.net container (that's apt update && apt upgrade):

sudo container update -n example.net

update example.net without asking questions (that's apt update && apt --yes upgrade):

sudo container update -n example.net -y

full update of example.net without asking questions (that's apt update && apt --yes upgrade && apt --yes full-upgrade):

sudo container update -n example.net -f -y

full update of all container on the host, with asking questions and purging unused packages (that's apt update && apt upgrade && apt full-upgrade && apt autoremove):

sudo container update -n ALL -f -r -p -y
note the ALL in that last one β€” capital letters, bestie. that's the magic word for every container on the host. ✨

🧚 SEE ALSO 🧚

go read those too, iykyk. πŸ“š


πŸ’œ HOMEPAGE πŸ’œ

more info about compute-tools and the Open Infrastructure project lives on the homepage at https://open-infrastructure.net. go say hi. 🫢


πŸ¦‹ CONTACT πŸ¦‹

bug reports, feature requests, help, patches, support and everything else are welcome on the Open Infrastructure Software Mailing List at software@lists.open-infrastructure.net. they want your emails, fr fr.

Debian specific bugs can also be reported in the Debian Bug Tracking System at https://bugs.debian.org. πŸ›


⭐ AUTHORS ⭐

compute-tools were written by Daniel Baumann <daniel.baumann@open-infrastructure.net> and others. legends only. πŸ‘‘


and that's the whole page, bestie β€” this was CONTAINER-UPDATE(1) from compute-tools, brought to you by Open Infrastructure. mwah, go update something. πŸ’–

πŸ“¦ where this page comes from