lxc-scripts
lxc-scripts copied to clipboard
running docker inside lxc container
Fedora 24 Container on Ubuntu 16.04 host:
need to modify the config of the container:
lxc.aa_profile = unconfined
lxc.cgroup.devices.allow = a
lxc.cap.drop =
Then it works!
dnf install docker
systemctl start docker
systemctl enable docker
# for testing:
docker run -t -i ubuntu /bin/bash
see also http://ashish1099.github.io/blog/2015/05/23/docker-inside-lxc/