lxc-scripts icon indicating copy to clipboard operation
lxc-scripts copied to clipboard

running docker inside lxc container

Open tpokorra opened this issue 7 years ago • 0 comments

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/

tpokorra avatar Oct 24 '16 05:10 tpokorra