Add the more simple utility to unshare the namespaces.
From: Daniel Lezcano <dlezcano@fr.ibm.com>
lt-lxc-unshare <options> [command]
Options are:
-f : fork and unshare (automatic when unsharing the pids)
-m : unshare the mount points
-p : unshare the pids
-h : unshare the utsname
-i : unshare the sysv ipc
-n : unshare the network
-u <id> : unshare the users and set a new id
if -f or -p is specified, <command> is mandatory)
Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com>
Showing
src/lxc/lxc_unshare.c
0 → 100644
Please
register
or
sign in
to comment