diff --git a/pages/linux/lxc-create.md b/pages/linux/lxc-create.md new file mode 100644 index 0000000000..395b2846de --- /dev/null +++ b/pages/linux/lxc-create.md @@ -0,0 +1,16 @@ +# lxc-create + +> Create linux containers. +> More information: . + +- Create a container interactively in `/var/lib/lxc/`: + +`lxc-create --name {{container}} --template download` + +- Create a container in a target directory: + +`lxc-create --lxcpath {{/path/to/directory/}} --name {{container}} --template download` + +- Create a container passing options to a template: + +`lxc-create --name {{name}} --template download -- --dist {{distro-name}} --release {{release-version}} --arch {{arch}}`