[lxc-devel] [lxd/master] README: document composing docker and default profiles.

hallyn on Github lxc-bot at linuxcontainers.org
Tue Mar 22 20:51:48 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/20160322/04409691/attachment.bin>
-------------- next part --------------
From 958ed5b1f555d2d87bf5f060614034091297f795 Mon Sep 17 00:00:00 2001
From: Serge Hallyn <serge.hallyn at ubuntu.com>
Date: Tue, 22 Mar 2016 13:47:07 -0700
Subject: [PATCH] README: document composing docker and default profiles.

closes #1791

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

diff --git a/README.md b/README.md
index d6a0bbc..e9c8983 100644
--- a/README.md
+++ b/README.md
@@ -273,5 +273,11 @@ Yes. The easiest way to do that is using a privileged container:
 
 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.
+apply the docker profile to your container.
+
+    lxc launch ubuntu:xenial my-docker-host -p default -p docker
+
+Note that the docker profile does not provide a network interface, so the
+common case will want to compose the default and docker profiles.
+
+The container must be using the Ubuntu 1.10.2-0ubuntu4 or newer docker package.


More information about the lxc-devel mailing list