]> git.proxmox.com Git - mirror_lxc.git/blob - doc/ko/lxc-start.sgml.in
confile: rename lxc.limit to lxc.prlimit
[mirror_lxc.git] / doc / ko / lxc-start.sgml.in
1 <!--
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23
24 Translated into Korean
25 by Sungbae Yoo <sungbae.yoo at samsung.com>
26
27 -->
28
29 <!DOCTYPE refentry PUBLIC @docdtd@ [
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">-F</arg>
64 <arg choice="opt">-p <replaceable>pid_file</replaceable></arg>
65 <arg choice="opt">-s KEY=VAL</arg>
66 <arg choice="opt">-C</arg>
67 <arg choice="opt">--share-[net|ipc|uts] <replaceable>name|pid</replaceable></arg>
68 <arg choice="opt">command</arg>
69 </cmdsynopsis>
70 </refsynopsisdiv>
71
72 <refsect1>
73 <title><!-- Description -->설명</title>
74
75 <para>
76 <!--
77 <command>lxc-start</command> runs the specified
78 <replaceable>command</replaceable> inside the container
79 specified by <replaceable>name</replaceable>.
80 -->
81 <command>lxc-start</command>는 지정된 <replaceable>command</replaceable>를 <replaceable>name</replaceable>이라는 이름의 컨테이너 내에서 실행한다.
82 (역주 : 컨테이너를 시작한다)
83 </para>
84 <para>
85 <!--
86 It will setup the container
87 according to the configuration previously defined with the
88 lxc-create command or with the configuration file parameter.
89 If no configuration is
90 defined, the default isolation is used.
91 -->
92 이 명령어는 <command>lxc-create</command> 정의했던 설정을 토대로 또는 인수를 통해 넘긴 설정파일을 토대로 컨테이너를 세팅한다.
93 만약 정의된 설정이 없다면, 기본 고립 환경을 사용한다.
94 </para>
95 <para>
96 <!--
97 If no command is specified, <command>lxc-start</command> will
98 use the command defined in lxc.init_cmd or if not set, the default
99 <command>"/sbin/init"</command> command to run a system
100 container.
101 -->
102 만약 명령어가 지정되지 않았다면, <command>lxc-start</command>는 lxc.init_cmd에 정의된 명령어를 사용한다. 만약 그마저도 없다면 <command>"/sbin/init"</command>명령어를 사용한다.
103 </para>
104
105 </refsect1>
106
107 <refsect1>
108
109 <title><!-- Options -->옵션</title>
110
111 <variablelist>
112
113 <varlistentry>
114 <term>
115 <option>-d, --daemon</option>
116 </term>
117 <listitem>
118 <para>
119 <!--
120 Run the container as a daemon. As the container has no
121 more tty, if an error occurs nothing will be displayed,
122 the log file can be used to check the error.
123 -->
124 컨테이너를 데몬으로 실행한다.
125 에러가 발생하더라도 컨테이너가 tty를 가지지 않기 때문에 에러는 표시되지 않는다.
126 대신 로그 파일을 에러를 확인하는데 사용할 수 있다.
127 </para>
128 </listitem>
129 </varlistentry>
130
131 <varlistentry>
132 <term>
133 <option>-F, --foreground</option>
134 </term>
135 <listitem>
136 <para>
137 <!--
138 Run the container in the foreground. In this mode, the container
139 console will be attached to the current tty and signals will be routed
140 directly to the container.
141 -->
142 컨테이너를 포그라운드로 실행한다. 이 모드에서는 컨테이너의 콘솔은 현재 tty에 붙는다. 그리고 시그널들은 컨테이너로 직접 보내지게 된다.
143 </para>
144 </listitem>
145 </varlistentry>
146
147 <varlistentry>
148 <term>
149 <option>-p, --pidfile <replaceable>pid_file</replaceable></option>
150 </term>
151 <listitem>
152 <para>
153 <!--
154 Create a file with the process id.
155 -->
156 프로세스 ID를 넣은 파일을 생성한다.
157 (역주 : systemd의 PIDFile= 옵션 등에 유용하게 사용가능하다)
158 </para>
159 </listitem>
160 </varlistentry>
161
162 <varlistentry>
163 <term>
164 <option>-f, --rcfile <replaceable>config_file</replaceable></option>
165 </term>
166 <listitem>
167 <para>
168 <!--
169 Specify the configuration file to configure the virtualization
170 and isolation functionalities for the container.
171 -->
172 컨테이너의 가상화나 고립 기능을 설정할 때 쓰일 설정파일을 지정한다.
173 </para>
174 <para>
175 <!--
176 This configuration file if present will be used even if there is
177 already a configuration file present in the previously created
178 container (via lxc-create).
179 -->
180 지정한 설정파일이 존재한다면, 이전에 생성된(lxc-create를 통해) 컨테
181 이너에 설정파일이 이미 존재한다고 하더라도 지정한 설정파일을 사용한다.
182 </para>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry>
187 <term>
188 <option>-c,
189 --console <replaceable>console_device</replaceable></option>
190 </term>
191 <listitem>
192 <para>
193 <!--
194 Specify a device to use for the container's console, for example
195 /dev/tty8. If this option is not specified the current terminal
196 will be used unless <option>-d</option> is specified.
197 -->
198 컨테이너의 콘솔로 사용할 디바이스를 지정한다. 예를 들어 /dev/tty8과 같이 지정가능하다. 만약 이 옵션이 지정되지 않았고 <option>-d</option>가 지정되이 않았다면, 현재 터미널이 사용된다.
199 </para>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry>
204 <term>
205 <option>-L,
206 --console-log <replaceable>console_logfile</replaceable></option>
207 </term>
208 <listitem>
209 <para>
210 <!--
211 Specify a file to log the container's console output to.
212 -->
213 컨테이너의 콘솔 출력을 기록할 파일을 지정한다.
214 </para>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry>
219 <term>
220 <option>-s, --define <replaceable>KEY=VAL</replaceable></option>
221 </term>
222 <listitem>
223 <para>
224 <!--
225 Assign value <replaceable>VAL</replaceable> to configuration
226 variable <replaceable>KEY</replaceable>. This overrides any
227 assignment done in <replaceable>config_file</replaceable>.
228 -->
229 지정한 설정 변수 <replaceable>KEY</replaceable>에 <replaceable>VAL</replaceable>값을 지정한다.
230 이 것은 이전에 <replaceable>config_file</replaceable>에서 지정했던 값들을 덮어쓴다.
231 </para>
232 </listitem>
233 </varlistentry>
234
235 <varlistentry>
236 <term>
237 <option>-C,
238 --close-all-fds</option>
239 </term>
240 <listitem>
241 <para>
242 <!--
243 If any file descriptors are inherited, close them. If this option
244 is not specified, then <command>lxc-start</command> will exit with
245 failure instead. Note: <replaceable>&#045;&#045;daemon</replaceable> implies
246 <replaceable>&#045;&#045;close-all-fds</replaceable>.
247 -->
248 상속 받는 파일 디스크립터가 있다면, 전부 닫는다. 만약 이 옵션이 지정되지 않았을 경우 <command>lxc-start</command>는 실패와 함께 종료된다. 주의 : <replaceable>&#045;&#045;daemon</replaceable>는 <replaceable>&#045;&#045;close-all-fds</replaceable>를 포함하고 있다.
249 </para>
250 </listitem>
251 </varlistentry>
252
253 <varlistentry>
254 <term>
255 <option>--share-net <replaceable>name|pid</replaceable></option>
256 </term>
257 <listitem>
258 <para>
259 <!--
260 Inherit a network namespace from
261 a <replaceable>name</replaceable> container or
262 a <replaceable>pid</replaceable>. The network namespace
263 will continue to be managed by the original owner. The
264 network configuration of the starting container is ignored
265 and the up/down scripts won't be executed.
266 -->
267 <replaceable>name</replaceable> 컨테이너 또는 <replaceable>pid</replaceable>로부터 네트워크 네임스페이스를 상속받는다. 네트워크 네임스페이스는 원래 소유자가 계속 관리하게 된다. 시작하는 컨테이너의 네트워크 설정은 무시되고 up/down 스크립트는 실행되지 않는다.
268 </para>
269 </listitem>
270 </varlistentry>
271
272 <varlistentry>
273 <term>
274 <option>--share-ipc <replaceable>name|pid</replaceable></option>
275 </term>
276 <listitem>
277 <para>
278 <!--
279 Inherit an IPC namespace from
280 a <replaceable>name</replaceable> container or
281 a <replaceable>pid</replaceable>.
282 -->
283 <replaceable>name</replaceable> 컨테이너 또는 <replaceable>pid</replaceable>로부터 IPC 네임스페이스를 상속받는다.
284 </para>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry>
289 <term>
290 <option>--share-uts <replaceable>name|pid</replaceable></option>
291 </term>
292 <listitem>
293 <para>
294 <!--
295 Inherit a UTS namespace from
296 a <replaceable>name</replaceable> container or
297 a <replaceable>pid</replaceable>. The starting LXC will
298 not set the hostname, but the container OS may do it
299 anyway.
300 -->
301 <replaceable>name</replaceable> 컨테이너 또는 <replaceable>pid</replaceable>로부터 UTS 네임스페이스를 상속받는다. LXC는 시작할 때 호스트이름을 설정하지 않는다. 다만, 컨테이너 OS가 설정할 수 있다.
302 </para>
303 </listitem>
304 </varlistentry>
305
306 </variablelist>
307
308 </refsect1>
309
310 &commonoptions;
311
312 <refsect1>
313 <title><!-- Diagnostic -->진단</title>
314
315 <variablelist>
316
317 <varlistentry>
318 <term>The container is busy</term>
319 <listitem>
320 <para>
321 <!--
322 The specified container is already running an
323 application. You should stop it before reuse this
324 container or create a new one.
325 -->
326 지정한 컨테이너가 이미 실행중인 경우이다. 컨테이너를 사용하고 싶다면
327 컨테이너를 중지시켜야 한다. 또는 새로운 컨테이너를 만들 수도 있다.
328 </para>
329 </listitem>
330 </varlistentry>
331
332 </variablelist>
333
334 </refsect1>
335
336 &seealso;
337
338 <refsect1>
339 <title><!-- Author -->저자</title>
340 <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
341 </refsect1>
342
343 </refentry>
344
345 <!-- Keep this comment at the end of the file
346 Local variables:
347 mode: sgml
348 sgml-omittag:t
349 sgml-shorttag:t
350 sgml-minimize-attributes:nil
351 sgml-always-quote-attributes:t
352 sgml-indent-step:2
353 sgml-indent-data:t
354 sgml-parent-document:nil
355 sgml-default-dtd-file:nil
356 sgml-exposed-tags:nil
357 sgml-local-catalogs:nil
358 sgml-local-ecat-files:nil
359 End:
360 -->