LXD images with squashfuse pre-installed?

Snaps don’t seem to work in LXD containers unless squashfuse is installed.

Could the standard Ubuntu LXD images be updated to have that package pre-installed, so that snaps in LXD works out of the box?

I noticed that problem some months ago.
However, it appears now that the new versions of the container images have already squashfuse.

That is,

  1. I just created a fresh ubuntu:16.04 container.
  2. Then, installed a snap package (any). By doing so, the core image was installed, and then the snap package that I requested.

And still, if you check for squashfuse, it is still not installed.

squashfuse:
Installed: (none)
Candidate: 0.1.100-0ubuntu1~ubuntu16.04.1
Version table:
0.1.100-0ubuntu1~ubuntu16.04.1 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages

If you still have issues even with newly created containers, check to see the creation time of the container image. You do that with lxc image info ubuntu:16.04.

I believe recent versions of snapd now come with their own fork/copy of squashfuse.