Skip to content

Commit d79142d

Browse files
committed
doc: add lxc.environment.{runtime,hooks} in Japanese man page
Update for e0290fa Signed-off-by: KATOH Yasufumi <karma@jazz.email.ne.jp>
1 parent b086321 commit d79142d

File tree

1 file changed

+46
-5
lines changed

1 file changed

+46
-5
lines changed

doc/ja/lxc.container.conf.sgml.in

Lines changed: 46 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4008,10 +4008,21 @@
40084008

40094009
<para>
40104010
<!--
4011-
This configuration parameter can be specified multiple times; once
4011+
Subkeys are available to narrow the scope of environment variables:
4012+
<command>lxc.environment.runtime</command> applies only to
4013+
the container's init process (and all its descendents),
4014+
and <command>lxc.environment.hooks</command> applies only to hooks.
4015+
-->
4016+
サブキーを使用して、環境変数のスコープを絞り込めます:
4017+
<command>lxc.environment.runtime</command> は、コンテナの init プロセス(とそのすべての子孫)にのみ適用されます。そして、<command>lxc.environment.hooks</command> はフックにのみ適用されます。
4018+
</para>
4019+
4020+
<para>
4021+
<!--
4022+
These configuration parameter can be specified multiple times; once
40124023
for each environment variable you wish to configure.
40134024
-->
4014-
この設定項目は、設定したい環境変数ごとに 1 度ずつ、何度でも指定できます。
4025+
これらの設定項目は、設定したい環境変数ごとに 1 度ずつ、何度でも指定できます。
40154026
</para>
40164027

40174028
<variablelist>
@@ -4022,10 +4033,10 @@
40224033
<listitem>
40234034
<para>
40244035
<!--
4025-
Specify an environment variable to pass into the container.
4026-
Example:
4036+
Environment variables applied both to the container init process
4037+
and to hooks. Example:
40274038
-->
4028-
コンテナに渡したい環境変数を指定します
4039+
環境変数は、コンテナの init プロセスとフックの両方に適用されます
40294040
例:
40304041
</para>
40314042
<programlisting>
@@ -4034,6 +4045,36 @@
40344045
</programlisting>
40354046
</listitem>
40364047
</varlistentry>
4048+
4049+
<varlistentry>
4050+
<term>
4051+
<option>lxc.environment.runtime</option>
4052+
</term>
4053+
<listitem>
4054+
<para>
4055+
<!--
4056+
Environment variables applied only to the container's init
4057+
process.
4058+
-->
4059+
環境変数はコンテナの init プロセスにのみ適用されます。
4060+
</para>
4061+
</listitem>
4062+
</varlistentry>
4063+
4064+
<varlistentry>
4065+
<term>
4066+
<option>lxc.environment.hooks</option>
4067+
</term>
4068+
<listitem>
4069+
<para>
4070+
<!--
4071+
Environment variables applied only to hooks.
4072+
-->
4073+
環境変数はフックにのみ適用されます。
4074+
</para>
4075+
</listitem>
4076+
</varlistentry>
4077+
40374078
</variablelist>
40384079
</refsect2>
40394080

0 commit comments

Comments
 (0)