LXD

Auflistung Offiziell Images

lxc image list ubuntu:

Inoffiziell

lxc image list images:

Image zu Container Ubuntu erstellen

lxc launch ubuntu:16.04 ubuntu_container

Alpine Linux erstellen

lxc launch images:alpine/3.4/amd64 alpine_container

Switch in Bash

lxc exec container_name bash

nicht bash

lxc exec container_name /bin/sh

Snapshot erstellen

lxc snapshot container snapshotname

lxc restore container snapshotname

lxc delete container / snapshotname

Container einstellungen Autostart

lxc config set container boot.autostart true

lxc info

Profile ersetellen/ändern

lxc profile list
lxc profile show container_name
lxc profile edit profile_name 
lxc lxc profile apply container_name profile1,profile2,profile3,...

Container steuern

lxc start container
lxc pause container
lxc delete container