1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-09 15:05:23 +02:00
tldr/pages.es/linux/lxc-create.md
Managor a70b923d8f
*: add option placeholders to translations (#15933)
Co-authored-by: Darío Hereñú <magallania@gmail.com>
2025-03-19 00:36:34 +02:00

16 lines
660 B
Markdown

# lxc-create
> Crea contenedores linux.
> Más información: <https://linuxcontainers.org/lxc/getting-started>.
- Crea un contenedor interactivamente en `/var/lib/lxc/`:
`sudo lxc-create {{[-n|--name]}} {{contenedor}} {{[-t|--template]}} download`
- Crea un contenedor en un directorio de destino:
`lxc-create {{[-P|--lxcpath]}} {{/ruta/al/directorio/}} {{[-n|--name]}} {{contenedor}} {{[-t|--template]}} download`
- Crea un contenedor pasando opciones a una plantilla:
`sudo lxc-create {{[-n|--name]}} {{nombre}} {{[-t|--template]}} download -- {{[-d|--dist]}} {{nombre-distro}} {{[-r|--release]}} {{versión-de-lanzamiento}} {{[-a|--arch]}} {{arch}}`