]>
Commit | Line | Data |
---|---|---|
8900b9eb | 1 | <!-- |
57da8c32 KY |
2 | |
3 | lxc: linux Container library | |
4 | ||
5 | (C) Copyright IBM Corp. 2007, 2008 | |
6 | ||
7 | Authors: | |
8 | Daniel Lezcano <daniel.lezcano at free.fr> | |
9 | ||
10 | This library is free software; you can redistribute it and/or | |
11 | modify it under the terms of the GNU Lesser General Public | |
12 | License as published by the Free Software Foundation; either | |
13 | version 2.1 of the License, or (at your option) any later version. | |
14 | ||
15 | This library is distributed in the hope that it will be useful, | |
16 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
18 | Lesser General Public License for more details. | |
19 | ||
20 | You should have received a copy of the GNU Lesser General Public | |
21 | License along with this library; if not, write to the Free Software | |
22 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
23 | ||
8900b9eb | 24 | Translated into Japanese |
57da8c32 KY |
25 | by KATOH Yasufumi <karma at jazz.email.ne.jp> |
26 | ||
27 | --> | |
28 | ||
29 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ | |
30 | ||
31 | <!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml"> | |
32 | <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml"> | |
33 | ]> | |
34 | ||
35 | <refentry> | |
36 | ||
37 | <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo> | |
38 | ||
39 | <refmeta> | |
40 | <refentrytitle>lxc-start</refentrytitle> | |
41 | <manvolnum>1</manvolnum> | |
42 | </refmeta> | |
43 | ||
44 | <refnamediv> | |
45 | <refname>lxc-start</refname> | |
46 | ||
47 | <refpurpose> | |
48 | <!-- | |
49 | run an application inside a container. | |
50 | --> | |
51 | コンテナの内部でアプリケーションを実行する. | |
52 | </refpurpose> | |
53 | </refnamediv> | |
54 | ||
55 | <refsynopsisdiv> | |
56 | <cmdsynopsis> | |
57 | <command>lxc-start</command> | |
58 | <arg choice="req">-n <replaceable>name</replaceable></arg> | |
59 | <arg choice="opt">-f <replaceable>config_file</replaceable></arg> | |
60 | <arg choice="opt">-c <replaceable>console_device</replaceable></arg> | |
61 | <arg choice="opt">-L <replaceable>console_logfile</replaceable></arg> | |
62 | <arg choice="opt">-d</arg> | |
63 | <arg choice="opt">-p <replaceable>pid_file</replaceable></arg> | |
64 | <arg choice="opt">-s KEY=VAL</arg> | |
65 | <arg choice="opt">-C</arg> | |
66 | <arg choice="opt">command</arg> | |
67 | </cmdsynopsis> | |
68 | </refsynopsisdiv> | |
69 | ||
70 | <refsect1> | |
71 | <title><!-- Description -->説明</title> | |
72 | ||
73 | <para> | |
74 | <!-- | |
75 | <command>lxc-start</command> runs the specified | |
76 | <replaceable>command</replaceable> inside the container | |
77 | specified by <replaceable>name</replaceable>. | |
78 | --> | |
79 | <command>lxc-start</command> は <replaceable>command</replaceable> で指定されたコマンドを,<replaceable>name</replaceable> で指定されたコンテナ内で実行します. | |
80 | </para> | |
81 | <para> | |
82 | <!-- | |
83 | It will setup the container | |
84 | according to the configuration previously defined with the | |
85 | lxc-create command or with the configuration file parameter. | |
86 | If no configuration is | |
87 | defined, the default isolation is used. | |
88 | --> | |
89 | このコマンドは,lxc-create コマンドもしくは設定ファイルのパラメータであらかじめ定義された設定に従ってコンテナをセットアップします.もし設定が定義されていない場合は,デフォルトの隔離状態を使用します. | |
90 | </para> | |
91 | <para> | |
92 | <!-- | |
93 | If no command is specified, <command>lxc-start</command> will | |
94 | use the default | |
95 | <command>"/sbin/init"</command> command to run a system | |
96 | container. | |
97 | --> | |
98 | もし command が指定されない場合は,<command>lxc-start</command> はシステムコンテナを実行するためのコマンドとして,デフォルトで <command>"/sbin/init"</command> を使用します. | |
99 | </para> | |
100 | ||
101 | </refsect1> | |
102 | ||
103 | <refsect1> | |
104 | ||
105 | <title><!-- Options -->オプション</title> | |
106 | ||
107 | <variablelist> | |
108 | ||
109 | <varlistentry> | |
110 | <term> | |
111 | <option>-d, --daemon</option> | |
112 | </term> | |
113 | <listitem> | |
114 | <para> | |
115 | <!-- | |
116 | Run the container as a daemon. As the container has no | |
117 | more tty, if an error occurs nothing will be displayed, | |
118 | the log file can be used to check the error. | |
119 | --> | |
120 | コンテナをデーモンとして実行します.コンテナはそれ以上の tty を持ちませんので,もしエラーが起きても何も表示されません.エラーのチェックにはログファイルを使用することができます. | |
121 | </para> | |
122 | </listitem> | |
123 | </varlistentry> | |
124 | ||
125 | <varlistentry> | |
126 | <term> | |
127 | <option>-p, --pidfile <replaceable>pid_file</replaceable></option> | |
128 | </term> | |
129 | <listitem> | |
130 | <para> | |
131 | <!-- | |
132 | Create a file with the process id. | |
133 | --> | |
134 | プロセス ID を含むファイルを作製します. | |
135 | </para> | |
136 | </listitem> | |
137 | </varlistentry> | |
138 | ||
139 | <varlistentry> | |
140 | <term> | |
141 | <option>-f, --rcfile <replaceable>config_file</replaceable></option> | |
142 | </term> | |
143 | <listitem> | |
144 | <para> | |
145 | <!-- | |
146 | Specify the configuration file to configure the virtualization | |
147 | and isolation functionalities for the container. | |
148 | --> | |
149 | コンテナの仮想化,隔離機能の設定のための設定ファイルを指定します. | |
150 | </para> | |
151 | <para> | |
152 | <!-- | |
153 | This configuration file if present will be used even if there is | |
154 | already a configuration file present in the previously created | |
155 | container (via lxc-create). | |
156 | --> | |
157 | (lxc-create 経由で) 前もってコンテナが作られた際の設定ファイルが既にあった場合でも,このオプションが指定された場合は,指定した設定ファイルが使用されます. | |
158 | </para> | |
159 | </listitem> | |
160 | </varlistentry> | |
161 | ||
162 | <varlistentry> | |
163 | <term> | |
164 | <option>-c, | |
165 | --console <replaceable>console_device</replaceable></option> | |
166 | </term> | |
167 | <listitem> | |
168 | <para> | |
169 | <!-- | |
170 | Specify a device to use for the container's console, for example | |
171 | /dev/tty8. If this option is not specified the current terminal | |
172 | will be used unless <option>-d</option> is specified. | |
173 | --> | |
174 | コンテナのコンソールに使用するデバイスを指定します.例えば /dev/tty8 のように指定します.このオプションが指定されない時は,<option>-d</option> が指定されない限りは,現在のターミナルを使用します. | |
175 | </para> | |
176 | </listitem> | |
177 | </varlistentry> | |
178 | ||
179 | <varlistentry> | |
180 | <term> | |
181 | <option>-L, | |
182 | --console-log <replaceable>console_logfile</replaceable></option> | |
183 | </term> | |
184 | <listitem> | |
185 | <para> | |
186 | <!-- | |
187 | Specify a file to log the container's console output to. | |
188 | --> | |
189 | コンテナのコンソール出力のログを出力するファイルを指定します. | |
190 | </para> | |
191 | </listitem> | |
192 | </varlistentry> | |
193 | ||
194 | <varlistentry> | |
195 | <term> | |
196 | <option>-s, --define <replaceable>KEY=VAL</replaceable></option> | |
197 | </term> | |
198 | <listitem> | |
199 | <para> | |
200 | <!-- | |
201 | Assign value <replaceable>VAL</replaceable> to configuration | |
202 | variable <replaceable>KEY</replaceable>. This overrides any | |
203 | assignment done in <replaceable>config_file</replaceable>. | |
204 | --> | |
205 | 設定変数 <replaceable>KEY</replaceable> に対する設定値として <replaceable>VAL</replaceable> を設定します.この設定は,<replaceable>config_file</replaceable> で既に設定されている値も上書きします. | |
206 | </para> | |
207 | </listitem> | |
208 | </varlistentry> | |
209 | ||
210 | <varlistentry> | |
211 | <term> | |
212 | <option>-C, | |
213 | --close-all-fds</option> | |
214 | </term> | |
215 | <listitem> | |
216 | <para> | |
217 | <!-- | |
218 | If any file descriptors are inherited, close them. If this option | |
219 | is not specified, then <command>lxc-start</command> will exit with | |
220 | failure instead. Note: <replaceable>--daemon</replaceable> implies | |
221 | <replaceable>--close-all-fds</replaceable>. | |
222 | --> | |
223 | 継承しているファイルディスクリプタが存在する場合,それをクローズします.このオプションが指定されない場合,<command>lxc-start</command> の実行は失敗して終了します.注意: <replaceable>--daemon</replaceable> オプションは,<replaceable>--close-all-fds</replaceable> オプションを指定しなくても指定している場合と同様の動きをします. | |
224 | </para> | |
225 | </listitem> | |
226 | </varlistentry> | |
227 | ||
228 | </variablelist> | |
229 | ||
230 | </refsect1> | |
231 | ||
232 | &commonoptions; | |
233 | ||
234 | <refsect1> | |
235 | <title><!-- Diagnostic -->診断</title> | |
236 | ||
237 | <variablelist> | |
238 | ||
239 | <varlistentry> | |
240 | <term>The container is busy</term> | |
241 | <listitem> | |
242 | <para> | |
243 | <!-- | |
244 | The specified container is already running an | |
245 | application. You should stop it before reuse this | |
246 | container or create a new one. | |
247 | --> | |
248 | 指定したコンテナは既に実行済みです.このコンテナを使用するまえに既に起動しているコンテナを停止するか,新しいものを作成する必要があります. | |
249 | </para> | |
250 | </listitem> | |
251 | </varlistentry> | |
252 | ||
253 | </variablelist> | |
254 | ||
255 | </refsect1> | |
256 | ||
257 | &seealso; | |
258 | ||
259 | <refsect1> | |
260 | <title><!-- Author -->作者</title> | |
261 | <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para> | |
262 | </refsect1> | |
263 | ||
264 | </refentry> | |
265 | ||
266 | <!-- Keep this comment at the end of the file | |
267 | Local variables: | |
268 | mode: sgml | |
269 | sgml-omittag:t | |
270 | sgml-shorttag:t | |
271 | sgml-minimize-attributes:nil | |
272 | sgml-always-quote-attributes:t | |
273 | sgml-indent-step:2 | |
274 | sgml-indent-data:t | |
275 | sgml-parent-document:nil | |
276 | sgml-default-dtd-file:nil | |
277 | sgml-exposed-tags:nil | |
278 | sgml-local-catalogs:nil | |
279 | sgml-local-ecat-files:nil | |
280 | End: | |
281 | --> |