Технология LXD

# apt install lxd

# lxd init

# lxc profile list

# lxc profile edit default
...
devices:
  eth0:
    nictype: bridged
    parent: br0
    type: nic
...

# lxc storage list

# lxc image list images:

# lxc launch ubuntu:20.04 
или
# lxc launch ubuntu:20.04 www

# lxc list

# lxc exec www -- /bin/bash

# lxc delete www

# lxc stop www

# lxc delete www

Исходные материалы

  459  lxc launch ubuntu:20.04
  460  lxc list
  461  lxc exec joint-hippo -- /bin/bash
  462  lxc delete joint-hippo
  463  lxc stop joint-hippo
  464  lxc delete joint-hippo
  
lxc image list

lxc list

/var/snap/lxd/common/lxd/storage-pools/default

root@node1.corp13.un:~# mkdir /disk2/lxd_drbd_storage
root@node1.corp13.un:~# lxc storage create lxd_drbd_storage dir source=/disk2/lxd_drbd_storage
Storage pool lxd_drbd_storage created