[lxc-devel] [lxd/master] update documentation on using docker in containers

hallyn on Github lxc-bot at linuxcontainers.org
Sun Mar 20 21:13:37 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 370 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160320/e37cf0c4/attachment.bin>
-------------- next part --------------
From c65167bb2fbb81e2d6189ea913e6e21564ef4f4d Mon Sep 17 00:00:00 2001
From: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: Sun, 20 Mar 2016 14:12:37 -0700
Subject: [PATCH] update documentation on using docker in containers

Closes #1770

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
---
 README.md | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index dfcee64..d6a0bbc 100644
--- a/README.md
+++ b/README.md
@@ -271,9 +271,7 @@ Yes. The easiest way to do that is using a privileged container:
 
 #### How can I run docker inside a LXD container?
 
-Create a container with the migrateable profile:
-
-	lxc launch ubuntu:xenial my-docker-host -p default -p docker
-
-Then run a version of docker with the needed patches, for instance version
-v1.10.0.serge.2 branch of github.com/hallyn/docker.
+To run docker inside a lxd container, you must be running a kernel with cgroup
+namespaces (Ubuntu 4.4 kernel or newer, or upstream 4.6 or newer), and must
+apply the docker profile to your container.  The container must be using the
+Ubuntu 1.10.2-0ubuntu4 or newer docker package.


More information about the lxc-devel mailing list