Hey all,
I'm on $pveversion
pve-manager/6.1-8/806edfe1 (running kernel: 5.3.18-3-pve)
I found a couple useful-seeming posts on using snaps in LXC containers (specifically https://forum.proxmox.com/threads/ubuntu-snaps-inside-lxc-container-on-proxmox.36463/post-230060 ) and applied those requirements:
In the container, squashfuse is already the newest version (0.1.100-0ubuntu2). This is in a Ubuntu 18.04 template that's been updated to latest.
# snap install hello-world
error: system does not fully support snapd: cannot mount squashfs image using
"squashfs": mount: /tmp/sanity-mountpoint-612465744: mount failed: Operation
not permitted.
What did I miss?
Also, as an aside, this post looked useful to me (since I'm actually trying to run the wekan snap in this container anyway ultimately): https://github.com/wekan/wekan-snap/issues/30
But that's using OpenVZ which I realize now is not relevant to proxmox anymore, not sure if that context helps at all.
Thanks for any input!
I'm on $pveversion
pve-manager/6.1-8/806edfe1 (running kernel: 5.3.18-3-pve)
I found a couple useful-seeming posts on using snaps in LXC containers (specifically https://forum.proxmox.com/threads/ubuntu-snaps-inside-lxc-container-on-proxmox.36463/post-230060 ) and applied those requirements:
Code:
~$ cat /etc/pve/lxc/142.conf
arch: amd64
cores: 1
features: mount=fuse,nesting=1
hostname: wekan1
memory: 1512
net0: name=eth0,bridge=vmbr0,firewall=1,hwaddr=42:23:70:4C:96:A9,ip=dhcp,type=veth
ostype: ubuntu
rootfs: mkx-mass:subvol-142-disk-0,size=8G
swap: 1512
unprivileged: 1
In the container, squashfuse is already the newest version (0.1.100-0ubuntu2). This is in a Ubuntu 18.04 template that's been updated to latest.
# snap install hello-world
error: system does not fully support snapd: cannot mount squashfs image using
"squashfs": mount: /tmp/sanity-mountpoint-612465744: mount failed: Operation
not permitted.
What did I miss?
Also, as an aside, this post looked useful to me (since I'm actually trying to run the wekan snap in this container anyway ultimately): https://github.com/wekan/wekan-snap/issues/30
But that's using OpenVZ which I realize now is not relevant to proxmox anymore, not sure if that context helps at all.
Thanks for any input!