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

Robson Rissato

Well-Known Member
Aug 15, 2018
55
10
48
48
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
great! please mark the thread as [SOLVED]
 
  • Like
Reactions: Robson Rissato
I'm having this exact same issue but I have Nesting checked. Any ideas why?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!