]> git.proxmox.com Git - mirror_lxc.git/commitdiff
doc: Add incompatibility with network type=none into Japanese man
authorKATOH Yasufumi <karma@jazz.email.ne.jp>
Tue, 31 Jul 2018 07:03:31 +0000 (16:03 +0900)
committerKATOH Yasufumi <karma@jazz.email.ne.jp>
Tue, 31 Jul 2018 07:03:31 +0000 (16:03 +0900)
Update for commit e4b3e36

Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
doc/ja/lxc.container.conf.sgml.in

index 7aee768b00fb735faecc6e6cb1f799044190b133..e35005c69c85c46de7ca8a4fbcf27f09e0ecef79 100644 (file)
@@ -566,11 +566,14 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
               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.
               -->
               <option>none:</option> ホストのネットワーク名前空間を共有します。
               これにより、ホストのネットワークデバイスをコンテナ内で使うことが可能になります。
               もしコンテナもホストも init として upstart を使っている場合、(例えば) コンテナ内で 'halt' を実行すると、ホストがシャットダウンしてしまうことにもなります。
+              非特権コンテナでは、sysfs をマウントできないので、この設定は動作しません。この問題に対する回避策は、ホストの sysfs を bind マウントすることです。ただしこの回避策は安全ではありません。
             </para>
 
             <para>