Free Hosting Online for WorkStations

< Previous | Contents | Next >

5.9.1. Docker


In order to facilitate running docker containers inside a LXD container, a 'docker' profile is provided. To launch a new container with the docker profile, you can run:


lxc launch xenial container1 -p default -p docker


Note that currently the docker package in Ubuntu 16.04 is patched to facilitate running in a container. This support is expected to land upstream soon.


Note that 'cgroup namespace' support is also required. This is available in the 16.04 kernel as well as in the 4.6 upstream source.


Top OS Cloud Computing at OnWorks: