Lxc launch
Jump to navigation
Jump to search
lxc launch images:debian/11 bullseye-vm --vm
lxc launch images:debian/11 docker-server --vm -c limits.cpu=4 -c limits.memory=12GiB -d root,size=50GiB
lxc init images:ubuntu/focal ${VM} -p default -p vm --vm lxc config set ${VM} limits.cpu ${CPU} lxc config set ${VM} limits.memory ${MEM} lxc config device override ${VM} root size=${DISK} lxc start ${VM}