Is it possible to run snaps? I tried to install snapd inside an Ubuntu container, but it didn't work
Snapd successfully installs inside the Ubuntu 22.04 LTS container, but when I run
sudo snap install code --classic
sudo snap install code --classic
I get this response:
error: cannot communicate with server: Post "http://localhost/v2/snaps/code": dial unix /run/snapd.socket: connect: no such file or directory
error: cannot communicate with server: Post "http://localhost/v2/snaps/code": dial unix /run/snapd.socket: connect: no such file or directory
It doesn't look like I can install snapd with with
system
system
either:
[*****@blend ~]$ sudo system install snapd[sudo] password for *****: >> i: attempting to acquire system lock>> i: this operation will replace the current overlay on the next bootSpawning container blendrw on /.blendrw.Press Ctrl-] three times within 1s to kill container.Host and machine ids are equal (d83175c6713a4c1284d7ff6499b35a1e): refusing to link journals:: Synchronizing package databases... core is up to date extra is up to dateerror: target not found: snapdContainer blendrw failed with error code 1.>> e: error occurred during installation, abandoning changes
[*****@blend ~]$ sudo system install snapd[sudo] password for *****: >> i: attempting to acquire system lock>> i: this operation will replace the current overlay on the next bootSpawning container blendrw on /.blendrw.Press Ctrl-] three times within 1s to kill container.Host and machine ids are equal (d83175c6713a4c1284d7ff6499b35a1e): refusing to link journals:: Synchronizing package databases... core is up to date extra is up to dateerror: target not found: snapdContainer blendrw failed with error code 1.>> e: error occurred during installation, abandoning changes