Skip to main content

Instalar Snap en un contenedor LXC

in the container:

sudo apt update && sudo apt dist-upgrade
sudo apt install squashfuse fuse
sudo apt install snapd
sudo mkdir /lib/modules

From the Proxmox host, edit the config file at /etc/pve/lxc/<CTID>.conf and add:

# Mounting fuse (for snap squashfs)
lxc.mount.entry = /dev/fuse dev/fuse none bind,create=file,optional

# Mount cgroup in rw to get snaps working
lxc.mount.auto=cgroup:rw