New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running docker inside lxc container #27

Open
tpokorra opened this Issue Oct 24, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@tpokorra
Copy link
Owner

tpokorra commented Oct 24, 2016

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment