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 , name . . , . config_file , , sysv ipc, . -f, --config config_file . -t, --template template lxc-create 'lxc-template' . template 'lxc-template' , busybox, debian, fedora, ubuntu, sshd . /usr/share/lxc/templates . template . "none" . -B, --bdev backingstore 'backingstore' 'dir', 'lvm', 'loop', 'btrfs', 'zfs', 'rbd', 'best' . 'dir' /var/lib/lxc/container/rootfs . 'dir' , --dir ROOTFS . ('none' 'dir' ) 'btrfs' , btrfs . . , rsync --one-filesystem . 'lvm' , lvm , : --lvname lvname1 lvname1 LV ( ). --vgname vgname1 vgname1 LV ( lxc). --thinpool thinpool1 thinpool1 thin- provisioned LV ( lxc). --fstype FSTYPE LV FSTYPE ( ext4). --fssize SIZE LV ( 1G). 'loop' , 'lvm' --fstype FSTYPE --fssize SIZE ( 'lvm' ). 'rbd' , ceph.conf ceph.client.admin.keyring . : --rbdname RBDNAME RBDNAME ( ). --rbdpool POOL POOL ( 'lxc'). '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 . , . --version . The container already exists , . lxc-ls . 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)