On 16.04, neither lxc nor lxd containers with 14.04 run docker
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
docker.io (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
On a Ubuntu 16.04 server amd64 host, docker does not work inside of a (lxc or lxd) Ubuntu 14.04 guest.
I tested on both a clean Ubuntu 16.04 install and also one that was upgraded from Ubuntu 15.10.
My definition of work is having the expected result when running
-------
sudo docker run hello-world
-------
If the guest containers is also Ubuntu 16.04, it works out of the box.
The images were made either using
lxc-create -t download -n test01 -- -d ubuntu -r trusty -a amd64
or on lxd following the syntax from https:/
Just for further reference, If the host is 15.10, one can have docker inside of LXC containers if one does the following:
a) on the host:
add this to /etc/lxc/
lxc.aa_profile = unconfined
lxc.cgroup.
lxc.cap.drop =
sudo mv /usr/share/
iptables -L # really. this loads modules that the docker install needs to be happy
ip6tables -L # really. this loads modules that the docker install needs to be happy
create the guest with something like
lxc-create -t download -n test01 -- -d ubuntu -r trusty -a amd64
b) on the guest
sudo apt-get install curl apparmor cgroup-lite
curl -fsSL https:/
sudo docker run hello-world
I personally consider this bug very important because 15.10 will be unsupported in July, so not upgrading will become an insecure choice to make.
If there is any way I can help you, please let me know.
Thanks
Marcos
ps: this is a copy of https:/
but somehow the bug was not showing up here because the "this repository must be configured for bugs to be forwarded", so I am just duplicating it.
Changed in docker.io (Ubuntu): | |
importance: | Undecided → Medium |
Status changed to 'Confirmed' because the bug affects multiple users.