I am still unable to run snaps inside lxd containers. I've just tested on an Ubuntu 16.04.3 LTS host:
$ uname -a Linux hp 4.10.0-33-generic #37~16.04.1-Ubuntu SMP Fri Aug 11 14:07:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux $ lxc version 2.0.10 $ lxc launch ubuntu:16.04 test Creating test Starting test $ lxc exec test -- apt update <redacted for readability> $ lxc exec test -- apt dist-upgrade -y <redacted for readability> $ lxc exec test -- apt install squashfuse -y <redacted for readability> $ lxc exec test -- snap install hello error: cannot communicate with server: Post http://localhost/v2/snaps/hello: dial unix /run/snapd.socket: connect: connection refused $ lxc exec test -- systemctl status snapd ● snapd.service - Snappy daemon Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled) Active: inactive (dead) (Result: exit-code) since Wed 2017-08-30 22:39:39 UTC; 35s ago Main PID: 2017 (code=exited, status=201/NICE) Aug 30 22:39:39 test systemd[1]: snapd.service: Unit entered failed state. Aug 30 22:39:39 test systemd[1]: snapd.service: Failed with result 'exit-code'. Aug 30 22:39:39 test systemd[1]: snapd.service: Service hold-off time over, scheduling restart. Aug 30 22:39:39 test systemd[1]: Stopped Snappy daemon. Aug 30 22:39:39 test systemd[1]: snapd.service: Start request repeated too quickly. Aug 30 22:39:39 test systemd[1]: Failed to start Snappy daemon. $ lxc exec test -- snap version snap 2.26.10 snapd unavailable series - $ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1611078 Title: Support snaps inside of lxd containers To manage notifications about this bug go to: https://bugs.launchpad.net/snappy/+bug/1611078/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
