lxd: Manually remove lvm storage pool
lvremove /dev/default/LXDThinPool
To list all lvm pools:
lvdisplay
lvremove /dev/default/LXDThinPool
To list all lvm pools:
lvdisplay
For all newly created containers:
lxc profile set default boot.autostart=false
Or for existing container:
lxc config set <container_name> boot.autostart false
[root@fe ~]# podman run hello-world
ERRO[0000] 'overlay' is not supported over extfs at "/var/lib/containers/storage/overlay"
Error: kernel does not support overlay fs: 'overlay' is not supported over extfs at "/var/lib/containers/storage/overlay": backing file system is unsupported for this graph driver
To fix this error, you’ll need to edit /etc/containers/storage.conf
file and make sure that it contains the following options:
[storage]
driver = "overlay"
[storage.options]
mount_program = "/usr/bin/fuse-overlayfs"
Run the following command to verify the result:
podman --log-level=debug ps -a
Delete all images which contain build-cache
in their name:
lxc image list -c l --format csv | grep build-cache | xargs -I % lxc image delete %
lxc config set core.https_address "[::]"
lxc config set core.trust_password new_password
After all clients are connected to the remote it is recommended to unset password:
lxc config unset core.trust_password
lxc storage set default volume.size 20GB
Fedora 31 has started to use cgroups v2 by default. According to Common F31 bugs it doesn’t play nice with Docker, lxd and others. To make fedora switch back to the old cgroups:
sudo grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0"
lxc config device override mycontainer root size=20GB
Restart the container to apply changes.