The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/3713
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Closes #3712 Signed-off-by: Stéphane Graber <[email protected]>
From 255b875c37c87572a09e864b4fe6dd05a78b4d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <[email protected]> Date: Wed, 23 Aug 2017 21:20:33 -0400 Subject: [PATCH] doc: Tweak docker instructions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #3712 Signed-off-by: Stéphane Graber <[email protected]> --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 99dda273d..9c5ffa948 100644 --- a/README.md +++ b/README.md @@ -186,6 +186,16 @@ In order to run Docker inside a LXD container the `security.nesting` property of lxc config set <container> security.nesting true +Note that LXD containers cannot load kernel modules, so depending on your Docker configuration +you may need to have the needed extra kernel modules loaded by the host. + +You can do so by setting a comma seperate list of kernel modules that your container needs with: + + lxc config set <container> linux.kernel_modules <modules> + +We have also received some reports that creating a "/.dockerenv" file in your container +can help Docker ignore some errors it's getting due to running in a nested environment. + ## Hacking on LXD ### Directly using the REST API The LXD REST API can be used locally via unauthenticated Unix socket or remotely via SSL encapsulated TCP.
_______________________________________________ lxc-devel mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-devel
