CONTAINER-CREATE(1) | Open Infrastructure | CONTAINER-CREATE(1) |
container-create - Create a container
container create [OPTIONS] cnt cr [OPTIONS]
The container-create command creates a container based on a script.
The following container-create options are available:
-n, --name=NAME
-c, --capability=CAPABILITY
-d, --drop-capability=DROP_CAPABILITY
-s, --script=SCRIPT
-v, --verbose
-b, --bind=DIRECTORY:DIRECTORY[:OPTIONS][;DIRECTORY:DIRECTORY[:OPTIONS]]
--bind-ro=DIRECTORY:DIRECTORY[:OPTIONS][;DIRECTORY:DIRECTORY[:OPTIONS]]
--cnt-overlay=DIRECTORY_LOWER:DIRECTORY_UPPER:DIRECTORY_WORK:DIRECTORY_MERGED[;DIRECTORY_UPPER:DIRECTORY_LOWER:DIRECTORY_WORK:DIRECTORY_MERGED]
--cnt.overlay-options=OPTION1,OPTION2[;OPTION3,OPTION4]
The following container scripts are available:
curl
debootstrap
debconf
default
Create example.net container using curl script:
Create example.net container using debootstrap script:
Create example.net container using debconf script:
Create example.net container with the default create script and start it:
More information about compute-tools and the Open Infrastructure project can be found on the homepage at https://open-infrastructure.net.
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 at https://bugs.debian.org.
compute-tools were written by Daniel Baumann <daniel.baumann@open-infrastructure.net> and others.
20210101 | compute-tools |