CONTAINER-GET(1)
β¨ CONTAINER-GET(1) β¨
okay bestie, so this is a page from the General Commands Manual (that's the manual name, she's fancy like that) and it's all about container-get, part of the compute-tools situation. let's get into it π
πΈ NAME πΈ
container-get β download a container. that's it. that's the whole job. iconic behaviour honestly π«Ά
π¦ SYNOPSIS π¦
container get ['OPTIONS']
cnt g ['OPTIONS']
two ways to say the same thing, because we love options (literally, there are options) π
π DESCRIPTION π
the container get command downloads a container based on a script. yes, a script. the script does the heavy lifting, you just vibe and pick which one. β¨
π Scripts
here are the download scripts you can pick from, no cap:
curl: the basic script that builds a Debian based container, seecontainer-create-curl(1).default: this one is a symlink (if it exists) to a download script that gets used when you didn't specify any script at all. on a Debian based system you can manage it throughupdate-alternatives(1), like so:sudo update-alternatives --config container_get-script. very main character energy of it π§
π OPTIONS π
the following container get options are available, and bestie there are a lot of them, so buckle up:
-n,--name='NAME'β specify the container name. name your baby, you've earned it π-c,--capability='CAPABILITY'β specify capabilities to grant, seecapabilities(7). giving it powers fr fr-d,--drop-capability='DROP_CAPABILITY'β specify capabilities to drop, seecapabilities(7). taking those powers away, not me being the villain π-s,--script='SCRIPT'β specify the container build script. defaults to'debootstrap'.-v,--verboseβ explain what is being done. she's a talker and honestly? we love that π£οΈ-b,--bind='DIRECTORY:DIRECTORY[:OPTIONS][;DIRECTORY:DIRECTORY[:OPTIONS]]'β specify container read-write bind mounts, see thesystemd-nspawn(1)--bindoption. note the wild nesting in there:OPTIONSare optional, and you can chain a whole second mount on with a;separated chunk. look at her go π--bind-ro='DIRECTORY:DIRECTORY[:OPTIONS][;DIRECTORY:DIRECTORY[:OPTIONS]]'β specify container read-only bind mounts, see thesystemd-nspawn(1)--bind-rooption. same shape, but read-only, she's off-limits π--cnt-overlay='DIRECTORY_LOWER:DIRECTORY_UPPER:DIRECTORY_WORK:DIRECTORY_MERGED[;DIRECTORY_UPPER:DIRECTORY_LOWER:DIRECTORY_WORK:DIRECTORY_MERGED]'β specify container overlay mounts, seeDocumentation/filesystems/overlayfs.txt. yes the second group in the brackets really does listDIRECTORY_UPPERbeforeDIRECTORY_LOWERβ that's what the page says, we don't make the rules, we just respect them π--cnt.overlay-options='OPTION1,OPTION2[;OPTION3,OPTION4]'β specify container overlay mount options, seeDocumentation/filesystems/overlayfs.txt. commas within a group, semicolons between groups, keep up bestie π--cnt.start='OPTION1[,OPTION2,...]'β specify container start options, seecontainer-start(1).
π₯ EXAMPLES π₯
create an example.net container using the curl script:
sudo container get -n example.net -s curl
create an example.net container with the default download script and start it:
sudo container get,start -n example.net
see how get,start just glues them together? ate, no crumbs β
π SEE ALSO π
π«Ά HOMEPAGE π«Ά
more information about compute-tools and the Open Infrastructure project can be found on the homepage: https://open-infrastructure.net β¨
π 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.
π AUTHORS π
compute-tools were written by Daniel Baumann <daniel.baumann@open-infrastructure.net> and others. shoutout to the "and others", we see you π«‘
and that's the whole page bestie, every single flag accounted for, nothing skipped, nothing invented π
this cutie pie came to you from compute-tools by Open Infrastructure β stay slay, stay containerized π¦π
π¦ 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