| 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-ls</refentrytitle> |
| 15 |
<manvolnum>1</manvolnum> |
| 16 |
</refmeta> |
| 17 |
|
| 18 |
<refnamediv> |
| 19 |
<refname>lxc-ls</refname> |
| 20 |
|
| 21 |
<refpurpose> |
| 22 |
<!-- |
| 23 |
list the containers existing on the system |
| 24 |
--> |
| 25 |
시스템 내에 존재하는 컨테이너들의 리스트 표시 |
| 26 |
</refpurpose> |
| 27 |
</refnamediv> |
| 28 |
|
| 29 |
<refsynopsisdiv> |
| 30 |
<cmdsynopsis> |
| 31 |
<command>lxc-ls</command> |
| 32 |
<arg choice="opt">-1</arg> |
| 33 |
<arg choice="opt">--active</arg> |
| 34 |
<arg choice="opt">--frozen</arg> |
| 35 |
<arg choice="opt">--running</arg> |
| 36 |
<arg choice="opt">--stopped</arg> |
| 37 |
<arg choice="opt">-f</arg> |
| 38 |
<arg choice="opt">-F <replaceable>format</replaceable></arg> |
| 39 |
<arg choice="opt">-g <replaceable>groups</replaceable></arg> |
| 40 |
<arg choice="opt">--nesting=<replaceable>NUM</replaceable></arg> |
| 41 |
<arg choice="opt">--filter=<replaceable>regex</replaceable></arg> |
| 42 |
</cmdsynopsis> |
| 43 |
</refsynopsisdiv> |
| 44 |
|
| 45 |
<refsect1> |
| 46 |
<title><!-- Description -->설명</title> |
| 47 |
<para> |
| 48 |
<!-- |
| 49 |
<command>lxc-ls</command> list the containers existing on the |
| 50 |
system. |
| 51 |
--> |
| 52 |
<command>lxc-ls</command>는 시스템 내에 존재하는 컨테이너들의 리스트를 표시한다. |
| 53 |
</para> |
| 54 |
</refsect1> |
| 55 |
|
| 56 |
<refsect1> |
| 57 |
<title><!-- Options -->옵션</title> |
| 58 |
<variablelist> |
| 59 |
<varlistentry> |
| 60 |
<term> |
| 61 |
<option>-1</option> |
| 62 |
</term> |
| 63 |
<listitem> |
| 64 |
<para> |
| 65 |
<!-- |
| 66 |
Show one entry per line. (default when /dev/stdout isn't a tty) |
| 67 |
--> |
| 68 |
1개의 항목를 한 줄에 표시한다. (/dev/stdout이 tty가 아닌 경우 기본) |
| 69 |
</para> |
| 70 |
</listitem> |
| 71 |
</varlistentry> |
| 72 |
|
| 73 |
<varlistentry> |
| 74 |
<term> |
| 75 |
<option>--active</option> |
| 76 |
</term> |
| 77 |
<listitem> |
| 78 |
<para> |
| 79 |
<!-- |
| 80 |
List only active containers (same as --frozen --running). |
| 81 |
--> |
| 82 |
동작 중인 컨테이너들의 리스트를 표시한다. (--frozen --running과 동일) |
| 83 |
</para> |
| 84 |
</listitem> |
| 85 |
</varlistentry> |
| 86 |
|
| 87 |
<varlistentry> |
| 88 |
<term> |
| 89 |
<option>--frozen</option> |
| 90 |
</term> |
| 91 |
<listitem> |
| 92 |
<para> |
| 93 |
<!-- |
| 94 |
List only frozen containers. |
| 95 |
--> |
| 96 |
동결된 컨테이너들의 리스트를 표시한다. |
| 97 |
</para> |
| 98 |
</listitem> |
| 99 |
</varlistentry> |
| 100 |
|
| 101 |
<varlistentry> |
| 102 |
<term> |
| 103 |
<option>--running</option> |
| 104 |
</term> |
| 105 |
<listitem> |
| 106 |
<para> |
| 107 |
<!-- |
| 108 |
List only running containers. |
| 109 |
--> |
| 110 |
실행 중인 컨테이너들의 리스트를 표시한다. |
| 111 |
</para> |
| 112 |
</listitem> |
| 113 |
</varlistentry> |
| 114 |
|
| 115 |
<varlistentry> |
| 116 |
<term> |
| 117 |
<option>--stopped</option> |
| 118 |
</term> |
| 119 |
<listitem> |
| 120 |
<para> |
| 121 |
<!-- |
| 122 |
List only stopped containers. |
| 123 |
--> |
| 124 |
종료되어 있는 컨테이너들의 리스트를 표시한다. |
| 125 |
</para> |
| 126 |
</listitem> |
| 127 |
</varlistentry> |
| 128 |
|
| 129 |
<varlistentry> |
| 130 |
<term> |
| 131 |
<option>-f, --fancy</option> |
| 132 |
</term> |
| 133 |
<listitem> |
| 134 |
<para> |
| 135 |
<!-- |
| 136 |
Use a fancy, column-based output. |
| 137 |
--> |
| 138 |
예쁘게, 컬럼 기반으로 출력해준다. |
| 139 |
</para> |
| 140 |
</listitem> |
| 141 |
</varlistentry> |
| 142 |
|
| 143 |
<varlistentry> |
| 144 |
<term> |
| 145 |
<option>-F, --fancy-format <replaceable>format</replaceable></option> |
| 146 |
</term> |
| 147 |
<listitem> |
| 148 |
<para> |
| 149 |
<!-- |
| 150 |
Comma separated list of columns to show in the fancy output. |
| 151 |
The list of accepted and default fields is listed in \-\-help. |
| 152 |
--> |
| 153 |
--fancy로 출력할때 어떤 컬럼을 보여줄지 쉼표(,)로 구분된 리스트. |
| 154 |
기본으로 표시되는 항목 및 선택할 수 있는 항목을 확인하려면 --help를 사용하면 된다. |
| 155 |
</para> |
| 156 |
</listitem> |
| 157 |
</varlistentry> |
| 158 |
|
| 159 |
<varlistentry> |
| 160 |
<term> |
| 161 |
<option>-g, --groups <replaceable>groups</replaceable></option> |
| 162 |
</term> |
| 163 |
<listitem> |
| 164 |
<para> |
| 165 |
<!-- |
| 166 |
Comma separated list of groups the container must have to be displayed. |
| 167 |
The parameter may be passed multiple times. |
| 168 |
--> |
| 169 |
표시하고자하는 컨테이너 그룹의 쉼표로 구분된 리스트. |
| 170 |
이 인수는 여러번 사용될 수 있다. |
| 171 |
</para> |
| 172 |
</listitem> |
| 173 |
</varlistentry> |
| 174 |
|
| 175 |
<varlistentry> |
| 176 |
<term> |
| 177 |
<option>--nesting=<replaceable>NUM</replaceable></option> |
| 178 |
</term> |
| 179 |
<listitem> |
| 180 |
<para> |
| 181 |
<!-- |
| 182 |
Show nested containers. The number of nesting levels to be shown can |
| 183 |
be specified by passing a number as argument. |
| 184 |
--> |
| 185 |
중첩된(nested) 컨테이너들의 리스트를 표시한다. 몇번 중첩된(nested) 컨테이너를 보여줄지 숫자로 지정할 수 있다. |
| 186 |
</para> |
| 187 |
</listitem> |
| 188 |
</varlistentry> |
| 189 |
|
| 190 |
<varlistentry> |
| 191 |
<term> |
| 192 |
<option>--filter=<replaceable>regex</replaceable></option> |
| 193 |
</term> |
| 194 |
<listitem> |
| 195 |
<para> |
| 196 |
<!-- |
| 197 |
The regular expression passed to <command>lxc-ls</command> will be |
| 198 |
applied to the container name. The format is a POSIX extended |
| 199 |
regular expression. It can also be given as additional argument |
| 200 |
without explicitly using <option>\-\-filter</option>. |
| 201 |
--> |
| 202 |
<command>lxc-ls</command> 명령어 사용시 컨테이너 이름에 적용할 정규표현식이다. 형식은 POSIX 확장 정규표현식이다. 명시적으로 <option>--filter</option>을 사용하지 않고도 사용할 수 있다. |
| 203 |
</para> |
| 204 |
</listitem> |
| 205 |
</varlistentry> |
| 206 |
</variablelist> |
| 207 |
|
| 208 |
</refsect1> |
| 209 |
|
| 210 |
<refsect1> |
| 211 |
<title><!-- Examples -->예제</title> |
| 212 |
<variablelist> |
| 213 |
<varlistentry> |
| 214 |
<term>lxc-ls --fancy</term> |
| 215 |
<listitem> |
| 216 |
<para> |
| 217 |
<!-- |
| 218 |
list all the containers, listing one per line along with its |
| 219 |
name, state, ipv4 and ipv6 addresses. |
| 220 |
--> |
| 221 |
모든 컨테이너를 표시한다. 1개의 행에 컨테이너의 이름, 상태, ipv4 및 ipv6 주소가 들어있다. |
| 222 |
</para> |
| 223 |
</listitem> |
| 224 |
</varlistentry> |
| 225 |
|
| 226 |
<varlistentry> |
| 227 |
<term>lxc-ls --active -1</term> |
| 228 |
<listitem> |
| 229 |
<para> |
| 230 |
<!-- |
| 231 |
list active containers and display the list in one column. |
| 232 |
--> |
| 233 |
동작 중인 컨테이너들의 리스트를 1열로 표시한다. |
| 234 |
</para> |
| 235 |
</listitem> |
| 236 |
</varlistentry> |
| 237 |
|
| 238 |
</variablelist> |
| 239 |
</refsect1> |
| 240 |
|
| 241 |
&commonoptions; |
| 242 |
|
| 243 |
&seealso; |
| 244 |
|
| 245 |
</refentry> |
| 246 |
|
| 247 |
<!-- Keep this comment at the end of the file |
| 248 |
Local variables: |
| 249 |
mode: sgml |
| 250 |
sgml-omittag:t |
| 251 |
sgml-shorttag:t |
| 252 |
sgml-minimize-attributes:nil |
| 253 |
sgml-always-quote-attributes:t |
| 254 |
sgml-indent-step:2 |
| 255 |
sgml-indent-data:t |
| 256 |
sgml-parent-document:nil |
| 257 |
sgml-default-dtd-file:nil |
| 258 |
sgml-exposed-tags:nil |
| 259 |
sgml-local-catalogs:nil |
| 260 |
sgml-local-ecat-files:nil |
| 261 |
End: |
| 262 |
--> |