1
0
Fork 0
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:
badmoons 2025-01-21 05:55:23 +03:00 committed by GitHub
parent b5d9b3700a
commit 278da0d188
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

16
pages/linux/lxc-create.md Normal file
View 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}}`