[SOLVED] Installation of snapd in centos-7-default_20190926_amd64.tar.xz

Robson Rissato

Well-Known Member
Aug 15, 2018
55
11
48
50
I created CT, with centos-7-default_20190926_amd64.tar.xz

everything is OK,

yum install snapd

OK

but when I use this error

# snap install --classic certbot

error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount:
/ tmp / sanity-squashfs-024591211: failed to setup loop device: No such file or directory

Has anyone had this problem and knows how to solve it?
 
hi,

to run snaps inside containers you need to enable the nesting feature. (though this has security implications, like mounting the host /proc and /sys with read-write permissions)
 
you can run pct set CTID -features nesting=1 on the terminal or just go on the GUI, Container -> Options -> Features -> check the "Nesting" box
 
  • Like
Reactions: Robson Rissato