Slide 64
Slide 64 text
unshareίϚϯυ
$ unshare -h
͍ํ:
unshare [options] [...]
Run a program with some namespaces unshared from the parent.
Φϓγϣϯ:
-m, --mount ϚϯτωʔϜεϖʔεͷڞ༗Λղআ͠·͢
-u, --uts UTS ωʔϜεϖʔε (ϗετ໊ͳͲ) ͷڞ༗Λղআ͠·͢
-i, --ipc System V IPC ωʔϜεϖʔεͷڞ༗Λղআ͠·͢
-n, --net ωοτϫʔΫωʔϜεϖʔεͷڞ༗Λղআ͠·͢
-p, --pid PID ωʔϜεϖʔεͷڞ༗Λղআ͠·͢
-U, --user ϢʔβωʔϜεϖʔεͷڞ༗Λղআ͠·͢
-f, --fork fork ͔ͯ͠Β <ϓϩάϥϜ> Λىಈ͠·͢
--mount-proc[=<σΟϨΫτϦ>]
proc ϑΝΠϧγεςϜΛ࠷ॳʹϚϯτ͠·͢
(͜Εʹ --mount ͷҙຯΛؚΈ·͢)
-r, --map-root-user map current user to root (implies --user)
-s, --setgroups allow|deny control the setgroups syscall in user namespaces
:(ུ)
Ճ౻ହจ ୈ 7 ճίϯςφܕԾԽͷใަձ 2015-06-20 64 / 108