lxc-create(1) lxc-create(1) (NAME) lxc-create - LXC (SYNOPSIS) lxc-create {-n name} [-f config_file] {-t template} [-B backingstore] [-- template- options] (DESCRIPTION) lxc-create . name lxc . /var/lib/lxc . . (jail) . config_file : (processes) (SysV IPC) (mount points). (OPTIONS) -f, --config config_file . -t, --template template 'template' 'lxc- template' lxc-create busybox debian fedora ubuntu sshd. /usr/share/lxc/templates . . "none" lxc-create rootfs . -B, --bdev backingstore ('backingstore') 'dir' 'lvm' 'loop' 'btrfs' 'zfs' 'rbd' 'best' . 'dir' /var/lib/lxc/container/rootfs . --dir ROOTFS rootfs . ( 'none' 'dir' .) 'btrfs' btrfs rootfs (subvolume) . (snapshot) rsync --one-filesystem . 'lvm' lvm : --lvname lvname1 LV lvname1 ( ) . --vgname vgname1 LV vgname1 (lxc) . --thinpool thinpool1 LV (thin-provisioned) thinpool1 (lxc) . --fstype FSTYPE FSTYPE ( ext4 ) LV . --fssize SIZE LV ( ) SIZE ( 1G ) . 'loop' --fstype FSTYPE --fssize SIZE 'lvm' . 'lvm' . 'rbd' ceph.conf ceph.client.admin.keyring . : --rbdname RBDNAME RBDNAME ( ) . --rbdpool POOL POOL ('lxc') . --rbduser RBDUSER ceph RBDUSER ('admin') . 'best' lxc btrfs zfs lvm (dir) . -- template-options template-options . : lxc-create -t TEMPLATE -h. (COMMON OPTIONS) lxc . -?, -h, --help . --usage . -q, --quiet . -P, --lxcpath=PATH . /var/lib/lxc . -o, --logfile=FILE FILE. . -l, --logpriority=LEVEL LEVEL. ERROR . : FATAL ALERT CRIT WARN ERROR NOTICE INFO DEBUG TRACE. ERROR (stderr) . -n, --name=NAME NAME. - . --rcfile=FILE . ( lxc-create) . --version . (DIAGNOSTIC) The container already exists . lxc-ls . (SEE ALSO) lxc(7), lxc-create(1), lxc-copy(1), lxc-destroy(1), lxc-start(1), lxc- stop(1), lxc-execute(1), lxc-console(1), lxc-monitor(1), lxc-wait(1), lxc-cgroup(1), lxc-ls(1), lxc-info(1), lxc-freeze(1), lxc-unfreeze(1), lxc-attach(1), lxc.conf(5) 2026-08-01 lxc-create(1)