linux:lxc

LinuX Containers (LXC)

lxc-checkconfig

unterstützte BACKENDs: btrfs, ceph, dir, lvm or zfs.

sudo apt install criu

lxc move host1:$somename host2:$somename

Grundregeln

  • privilegierte Container → root-Rechte
  • lxd-Gruppenmitgliedschaft → root-Rechte
  • Zugriff auf den LXD socket → root-Rechte
Key Type Default Required Description
security.mac_filtering boolean false no Prevent the instance from spoofing another's MAC address
security.ipv4_filtering boolean false no Prevent the instance from spoofing another's IPv4 address (enables mac_filtering)
security.ipv6_filtering boolean false no Prevent the instance from spoofing another's IPv6 address (enables mac_filtering)

One can override the default bridged NIC settings from the profile on a per-instance basis using:

lxc config device override <instance> <NIC> security.mac_filtering=true