lxc-create(1) lxc-create(1) NAME lxc-create - SYNOPSIS lxc-create {-n name} [-f config_file] {-t template} [-B backingstore] [-- template- options] lxc-create name lxc /var/lib/lxc config_file : sysv ipc -f, --config config_file -t, --template template template lxc-create 'lxc-template' busybox, debian, fedora, ubuntu, sshd /usr/share/lxc/templates rootfs "none" -B, --bdev backingstore 'backingstore' 'dir', 'lvm', 'loop', 'btrfs', 'zfs', 'rbd', 'best' 'dir' /var/lib/lxc/container/rootfs 'dir' --dir ROOTFS rootfs ('none' 'dir' ) 'btrfs' btrfs rootfs subvolume rsync --one-filesystem backingstore 'lvm' lvm : --lvname lvname1 LV lvname1 LV --vgname vgname1 lxc volume group vgname1 volume group LV --thinpool thinpool1 lxc thinpool1 LV --fstype FSTYPE LV ext4 FSTYPE --fssize SIZE 1G SIZE LV backingstore 'loop' 'lvm' --fstype FSTYPE --fssize SIZE 'lvm' backingstore 'rbd' ceph.conf ceph.client.admin.keyring --rbdname RBDNAME RBDNAME --rbdpool POOL POOL 'lxc' backingstore 'best' lxc btrfs, zfs, lvm, dir -- template-options template-options lxc- create -t TEMPLATE -h 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 stderr ERROR -n, --name=NAME NAME --rcfile=FILE (lxc-create ) --version 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) 2024-04-28 lxc-create(1)