Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
4eeecbdb
Commit
4eeecbdb
authored
Dec 19, 2017
by
KATOH Yasufumi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: Add proc section to Japanese lxc.container.conf(5)
Update for commit
61d7a733
Signed-off-by:
KATOH Yasufumi
<
karma@jazz.email.ne.jp
>
parent
b45e48f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
20 deletions
+51
-20
lxc.container.conf.sgml.in
doc/ja/lxc.container.conf.sgml.in
+51
-20
No files found.
doc/ja/lxc.container.conf.sgml.in
View file @
4eeecbdb
...
@@ -347,11 +347,11 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
...
@@ -347,11 +347,11 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
</term>
</term>
<listitem>
<listitem>
<para>
<para>
<!--
<!--
Absolute path from container rootfs to the binary to run by default. This
Absolute path from container rootfs to the binary to run by default. This
mostly makes sense for lxc-execute.
mostly makes sense for lxc-execute.
-->
-->
デフォルトで実行するバイナリのコンテナの root からの絶対パスを指定します。これは <command>lxc-execute</command> のための設定です。
デフォルトで実行するバイナリのコンテナの root からの絶対パスを指定します。これは <command>lxc-execute</command> のための設定です。
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -365,7 +365,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
...
@@ -365,7 +365,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<para>
<para>
<!--
<!--
Absolute path from container rootfs to the binary to use as init. This
Absolute path from container rootfs to the binary to use as init. This
mostly makes sense for lxc-start. Default is /sbin/init.
mostly makes sense for lxc-start. Default is /sbin/init.
-->
-->
init として使うバイナリの、コンテナの root からの絶対パスを指定します。これは <command>lxc-start</command> のための設定です。デフォルトは <command>/sbin/init</command> です。
init として使うバイナリの、コンテナの root からの絶対パスを指定します。これは <command>lxc-start</command> のための設定です。デフォルトは <command>/sbin/init</command> です。
</para>
</para>
...
@@ -377,11 +377,11 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
...
@@ -377,11 +377,11 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<refsect2>
<refsect2>
<title>Init のワーキングディレクトリ <!-- Init working directory --></title>
<title>Init のワーキングディレクトリ <!-- Init working directory --></title>
<para>
<para>
<!--
<!--
Sets the absolute path inside the container as the working directory for the containers.
Sets the absolute path inside the container as the working directory for the containers.
LXC will switch to this directory before executing init.
LXC will switch to this directory before executing init.
-->
-->
コンテナのワーキングディレクトリとして、コンテナ内の絶対パスを設定します。LXC は init を実行する前に、このディレクトリに移動します。
コンテナのワーキングディレクトリとして、コンテナ内の絶対パスを設定します。LXC は init を実行する前に、このディレクトリに移動します。
</para>
</para>
<variablelist>
<variablelist>
<varlistentry>
<varlistentry>
...
@@ -390,10 +390,10 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
...
@@ -390,10 +390,10 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
</term>
</term>
<listitem>
<listitem>
<para>
<para>
<!--
<!--
Absolute path inside the container to use as the working directory.
Absolute path inside the container to use as the working directory.
-->
-->
ワーキングディレクトリとして使うコンテナ内の絶対パス
ワーキングディレクトリとして使うコンテナ内の絶対パス
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -446,6 +446,37 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
...
@@ -446,6 +446,37 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
</refsect2>
</refsect2>
<refsect2>
<refsect2>
<title>Proc</title>
<para>
<!--
Configure proc filesystem for the container.
-->
コンテナ内の proc ファイルシステムで設定できるパラメータを設定します。
</para>
<variablelist>
<varlistentry>
<term>
<option>lxc.proc.[proc file name]</option>
</term>
<listitem>
<para>
<!--
Specify the proc file name to be set. The file name available
are those listed under /proc/PID/.
Example:
-->
設定したい proc ファイルシステムのファイル名を指定します。指定できるファイル名は /proc/PID/ 以下に存在するものです。
例:
</para>
<programlisting>
lxc.proc.oom_score_adj = 10
</programlisting>
</listitem>
</varlistentry>
</variablelist>
</refsect2>
<refsect2>
<title><!-- Ephemeral -->一時的なコンテナ</title>
<title><!-- Ephemeral -->一時的なコンテナ</title>
<para>
<para>
<!--
<!--
...
@@ -1696,7 +1727,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
...
@@ -1696,7 +1727,7 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
</term>
</term>
<listitem>
<listitem>
<para>
<para>
<!--
<!--
specify a directory or path in which the container's cgroup will
specify a directory or path in which the container's cgroup will
be created. For example, setting
be created. For example, setting
<option>lxc.cgroup.dir = my-cgroup/first</option> for a container
<option>lxc.cgroup.dir = my-cgroup/first</option> for a container
...
@@ -1707,11 +1738,11 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
...
@@ -1707,11 +1738,11 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
"/sys/fs/cgroup/cpuset/my-user/my-cgroup/first/c1" for the
"/sys/fs/cgroup/cpuset/my-user/my-cgroup/first/c1" for the
container. Any missing cgroups will be created by LXC. This
container. Any missing cgroups will be created by LXC. This
presupposes that the user has write access to its current cgroup.
presupposes that the user has write access to its current cgroup.
-->
-->
コンテナの cgroup を作成するパスやディレクトリを指定します。
コンテナの cgroup を作成するパスやディレクトリを指定します。
例えば、"c1" という名前のコンテナで <option>lxc.cgroup.dir = my-cgroup/first</option> のように設定すると、"my-cgroup" のサブ cgroup のようにコンテナの cgroup を作成します。
例えば、"c1" という名前のコンテナで <option>lxc.cgroup.dir = my-cgroup/first</option> のように設定すると、"my-cgroup" のサブ cgroup のようにコンテナの cgroup を作成します。
例えば、ユーザのカレントの cgroup である "my-user" が cgroup v1 階層にある cpuset コントローラの root cgroup 内に存在する場合、この設定は "/sys/fs/cgroup/cpuset/my-user/my-cgroup/first/c1" という cgroup をこのコンテナ向けに作成します。
例えば、ユーザのカレントの cgroup である "my-user" が cgroup v1 階層にある cpuset コントローラの root cgroup 内に存在する場合、この設定は "/sys/fs/cgroup/cpuset/my-user/my-cgroup/first/c1" という cgroup をこのコンテナ向けに作成します。
存在しない cgroup は LXC が作成しますが、ユーザがカレントの cgroup に書き込み権を持っていることが前提となります。
存在しない cgroup は LXC が作成しますが、ユーザがカレントの cgroup に書き込み権を持っていることが前提となります。
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -1912,10 +1943,10 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
...
@@ -1912,10 +1943,10 @@ by KATOH Yasufumi <karma at jazz.email.ne.jp>
<refsect2>
<refsect2>
<title>Sysctl</title>
<title>Sysctl</title>
<para>
<para>
<!--
<!--
Configure kernel parameters for the container.
Configure kernel parameters for the container.
-->
-->
コンテナ用のカーネルパラメータを設定します。
コンテナ用のカーネルパラメータを設定します。
</para>
</para>
<variablelist>
<variablelist>
<varlistentry>
<varlistentry>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment