Debian Codegraph @

doc/ko/lxc-start.sgml.in

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