]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Unprivileged's incompatibility with type=none docs 2500/head
authorAlexandros Kosiaris <akosiaris@gmail.com>
Mon, 30 Jul 2018 12:01:15 +0000 (15:01 +0300)
committerAlexandros Kosiaris <akosiaris@gmail.com>
Mon, 30 Jul 2018 12:18:27 +0000 (15:18 +0300)
Unprivileged containers are not compatible with sharing the
host namespace due to an inability to mount sysfs. Add docs
in lxc.container.conf to document that out.

Refs #2463

Signed-off-by: Alexandros Kosiaris <akosiaris@gmail.com>
doc/lxc.container.conf.sgml.in

index 9808ade6c999c73b09daa694b6983428d2364ffb..aca34a955943573ea8be2a910280516342312bab 100644 (file)
@@ -430,7 +430,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
               network devices are usable in the container.  It also
               means that if both the container and host have upstart as
               init, 'halt' in a container (for instance) will shut down the
-              host.
+              host. Note that unprivileged containers do not work with this
+             setting due to an inability to mount sysfs. An unsafe workaround
+             would be to bind mount the host's sysfs.
             </para>
 
             <para>