CONTAINER-RUN(1)
β¨ container-run(1) β the manual page, but make it cute β¨
okay bestie, welcome to the CONTAINER-RUN(1) page from the General Commands Manual β yes that's the manual name, no I will not be normal about it π
πΈ NAME πΈ
container-run β execute commands in a container namespace π«Ά
π SYNOPSIS π
container run ['OPTIONS'] -- 'COMMAND'|"COMMANDS"
cnt r ['OPTIONS'] -- 'COMMAND'|"COMMANDS"
π DESCRIPTION π
so here's the tea: the container run command executes arbitrary commands as root inside a container namespace. yeah. root. inside the namespace. main character energy fr fr π
β¨ OPTIONS β¨
here's the full lineup of container run options, and yes there is literally just one, she's an icon, she's everything:
-n,--name='NAME'β specify the container name. and listen, if you pass'ALL', it will start all stopped container. (their grammar, not mine, but the facts are the facts π)
π EXAMPLES π
run hostname in the example.net container:
sudo container run -n example.net -- hostname
create and delete a file in the example.net container:
sudo container run -n example.net -- 'touch /tmp/foo && rm -f /tmp/foo'
no cap, that second one is a whole little two-for-one in a single string. obsessed π
π¦ SEE ALSO π¦
π HOMEPAGE π
want more info about compute-tools and the Open Infrastructure project? it's all on the homepage at https://open-infrastructure.net β
π CONTACT π
bug reports, feature requests, help, patches, support and literally everything else are welcome on the Open Infrastructure Software Mailing List at software@lists.open-infrastructure.net. come through, we love to see it π«Ά
Debian specific bugs can also be reported in the Debian Bug Tracking System at https://bugs.debian.org. periodt π
π AUTHORS π
compute-tools were written by Daniel Baumann <daniel.baumann@open-infrastructure.net> and others. legends only β¨
okay that's the whole page, you're all caught up bestie π§
and that's a wrap from Open Infrastructure, this is compute-tools, page CONTAINER-RUN(1) β mwah, go run some commands π
π¦ where this page comes from
- debian bookworm: open-infrastructure-compute-tools 20221223-3 Β· GPL-3.0-or-later
- ubuntu noble: open-infrastructure-compute-tools 20221223-3 Β· GPL-3.0-or-later
- π the page's license: GPL-3.0+
- Copyright (C) 2014-2022 Daniel Baumann <daniel.baumann@open-infrastructure.net>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms