Ubuntu – How to run a Snappy / ubuntu-core image with LXD

lxcubuntu-core

I would like to run Ubuntu Snappy in an LXC container.

There isn't an existing snappy image at the default https://images.linuxcontainers.org repo, but I was wondering if this is something others have tried and what I would need to get started.

For context, I am interested in running snappy in a system container (via lxd on the cli for local dev, and openstack for shared environments) to act as a host os for running application containers with Docker.

Best Answer

This is now supported: lxc launch images:ubuntu-core/16/amd64 ubuntu-core

Credit @stgraber

https://stgraber.org/2017/01/31/ubuntu-core-in-lxd-containers/

Related Question