mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 23:22:07 +02:00
lxc-create: add page (#15551)
This commit is contained in:
parent
b5d9b3700a
commit
278da0d188
1 changed files with 16 additions and 0 deletions
16
pages/linux/lxc-create.md
Normal file
16
pages/linux/lxc-create.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# lxc-create
|
||||
|
||||
> Create linux containers.
|
||||
> More information: <https://linuxcontainers.org/lxc/getting-started>.
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue