| 1 |
<!-- SPDX-License-Identifier: LGPL-2.1+ --> |
| 2 |
|
| 3 |
<!DOCTYPE refentry PUBLIC @docdtd@ [ |
| 4 |
|
| 5 |
<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml"> |
| 6 |
]> |
| 7 |
|
| 8 |
<refentry> |
| 9 |
|
| 10 |
<docinfo><date>@LXC_GENERATE_DATE@</date></docinfo> |
| 11 |
|
| 12 |
<refmeta> |
| 13 |
<refentrytitle>lxc-device</refentrytitle> |
| 14 |
<manvolnum>1</manvolnum> |
| 15 |
</refmeta> |
| 16 |
|
| 17 |
<refnamediv> |
| 18 |
<refname>lxc-device</refname> |
| 19 |
|
| 20 |
<refpurpose> |
| 21 |
<!-- |
| 22 |
manage devices of running containers |
| 23 |
--> |
| 24 |
실행 중인 컨테이너의 디바이스 관리 |
| 25 |
</refpurpose> |
| 26 |
</refnamediv> |
| 27 |
|
| 28 |
<refsynopsisdiv> |
| 29 |
<cmdsynopsis> |
| 30 |
<command>lxc-device</command> |
| 31 |
<arg choice="opt">-h</arg> |
| 32 |
<arg choice="opt">-n <replaceable>name</replaceable></arg> |
| 33 |
<arg choice="opt">add</arg> |
| 34 |
<arg choice="opt">DEVICE</arg> |
| 35 |
<arg choice="opt">NAME</arg> |
| 36 |
</cmdsynopsis> |
| 37 |
</refsynopsisdiv> |
| 38 |
|
| 39 |
<refsect1> |
| 40 |
<title><!-- Description -->설명</title> |
| 41 |
<para> |
| 42 |
<!-- |
| 43 |
<command>lxc-device</command> manages devices in running container. |
| 44 |
--> |
| 45 |
<command>lxc-device</command>는 실행중인 컨테이너의 디바이스를 관리한다. |
| 46 |
</para> |
| 47 |
</refsect1> |
| 48 |
|
| 49 |
<refsect1> |
| 50 |
<title><!-- Options -->옵션</title> |
| 51 |
<variablelist> |
| 52 |
<varlistentry> |
| 53 |
<term> |
| 54 |
<option>-h</option> |
| 55 |
</term> |
| 56 |
<listitem> |
| 57 |
<para> |
| 58 |
<!-- |
| 59 |
The full command help message. |
| 60 |
--> |
| 61 |
명령어의 전체 도움말을 표시한다. |
| 62 |
</para> |
| 63 |
</listitem> |
| 64 |
</varlistentry> |
| 65 |
|
| 66 |
<varlistentry> |
| 67 |
<term><option>-n, --name=<replaceable>NAME</replaceable></option></term> |
| 68 |
<listitem> |
| 69 |
<para> |
| 70 |
<!-- |
| 71 |
The name of the target container. |
| 72 |
--> |
| 73 |
대상으로 하는 컨테이너의 이름. |
| 74 |
</para> |
| 75 |
</listitem> |
| 76 |
</varlistentry> |
| 77 |
|
| 78 |
<varlistentry> |
| 79 |
<term> |
| 80 |
<option>action</option> |
| 81 |
</term> |
| 82 |
<listitem> |
| 83 |
<para> |
| 84 |
<!-- |
| 85 |
What action to perform. Only 'add' is supported at this point. |
| 86 |
--> |
| 87 |
수행할 동작. 현재는 'add'만 지원된다. |
| 88 |
</para> |
| 89 |
</listitem> |
| 90 |
</varlistentry> |
| 91 |
|
| 92 |
<varlistentry> |
| 93 |
<term> |
| 94 |
<option>DEVICE</option> |
| 95 |
</term> |
| 96 |
<listitem> |
| 97 |
<para> |
| 98 |
<!-- |
| 99 |
The device to add to the container. |
| 100 |
It can either be the path to a device under /dev or a network |
| 101 |
interface name. |
| 102 |
--> |
| 103 |
컨테이너에 추가할 디바이스. |
| 104 |
장치의 경로를 /dev 밑으로 지정하거나 네트워크 인터페이스 이름이 지정 가능하다. |
| 105 |
</para> |
| 106 |
</listitem> |
| 107 |
</varlistentry> |
| 108 |
|
| 109 |
<varlistentry> |
| 110 |
<term> |
| 111 |
<option><optional>NAME</optional></option> |
| 112 |
</term> |
| 113 |
<listitem> |
| 114 |
<para> |
| 115 |
<!-- |
| 116 |
Name for the device within the container. |
| 117 |
--> |
| 118 |
컨테이너 내부에서 쓰일 디바이스의 이름 |
| 119 |
</para> |
| 120 |
</listitem> |
| 121 |
</varlistentry> |
| 122 |
</variablelist> |
| 123 |
</refsect1> |
| 124 |
|
| 125 |
<refsect1> |
| 126 |
<title><!-- Examples -->예제</title> |
| 127 |
<variablelist> |
| 128 |
<varlistentry> |
| 129 |
<term>lxc-device -n p1 add /dev/video0</term> |
| 130 |
<listitem> |
| 131 |
<para> |
| 132 |
<!-- |
| 133 |
Creates a /dev/video0 device in container p1 based on the matching |
| 134 |
device on the host. |
| 135 |
--> |
| 136 |
컨테이너 p1 내부에 호스트의 것과 같은 /dev/video0 장치를 생성한다. |
| 137 |
</para> |
| 138 |
</listitem> |
| 139 |
</varlistentry> |
| 140 |
|
| 141 |
<varlistentry> |
| 142 |
<term>lxc-device -n p1 add eth0 eth1</term> |
| 143 |
<listitem> |
| 144 |
<para> |
| 145 |
<!-- |
| 146 |
Moves eth0 from the host as eth1 in p1. |
| 147 |
--> |
| 148 |
호스트의 eth0를 컨테이너 p1에 eth1의 이름으로 옮긴다. |
| 149 |
</para> |
| 150 |
</listitem> |
| 151 |
</varlistentry> |
| 152 |
</variablelist> |
| 153 |
</refsect1> |
| 154 |
|
| 155 |
&seealso; |
| 156 |
</refentry> |
| 157 |
|
| 158 |
<!-- Keep this comment at the end of the file |
| 159 |
Local variables: |
| 160 |
mode: sgml |
| 161 |
sgml-omittag:t |
| 162 |
sgml-shorttag:t |
| 163 |
sgml-minimize-attributes:nil |
| 164 |
sgml-always-quote-attributes:t |
| 165 |
sgml-indent-step:2 |
| 166 |
sgml-indent-data:t |
| 167 |
sgml-parent-document:nil |
| 168 |
sgml-default-dtd-file:nil |
| 169 |
sgml-exposed-tags:nil |
| 170 |
sgml-local-catalogs:nil |
| 171 |
sgml-local-ecat-files:nil |
| 172 |
End: |
| 173 |
--> |