Skip to content

Commit 95f1f7d

Browse files
committed
doc: add hint about Ubuntu AppArmor
1 parent 8e060af commit 95f1f7d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

doc/installation.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,11 @@ not permitted" error when building. Add the line ::
190190

191191
to your ``/etc/sysctl.conf`` (or wherever your distro stores that).
192192

193+
Ubuntu is further restricting user namespaces through AppArmor. Either set
194+
``/proc/sys/kernel/apparmor_restrict_unprivileged_userns`` to ``0`` or create
195+
an AppArmor profile for the ``bob-namespace-sandbox`` binary that allows user
196+
namespaces for Bob.
197+
193198
If you are using Docker, you must relax the security settings as they block
194199
nested containers by default. Adding ``--security-opt seccomp=unconfined
195200
--security-opt apparmor=unconfined`` to the ``docker run`` command should

0 commit comments

Comments
 (0)