Is it possiable to snap build and debug in docker?

Hi ,

I create a docker for snap build, I can install snapcraft in docker, but looks like I can’t install my snap application in the same docker, because it lack snap running environment. My docker is base on ubuntu 16.04.
thanks!

While it is possible hypothetically with a lot of hacks and disabling many security features of docker containers, it is discouraged to do this. You can however easily install snaps with squashfuse installed in an LXD container. See https://ubuntu.com/blog/running-snaps-in-lxd-containers (but note that you will need to use a more recent ubuntu version than 16.10, but everything else should be the same I think)

which you should be doing anyway, given that 16.10 is EOL since quite some time already …