| 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-console</refentrytitle> |
| 15 |
<manvolnum>1</manvolnum> |
| 16 |
</refmeta> |
| 17 |
|
| 18 |
<refnamediv> |
| 19 |
<refname>lxc-console</refname> |
| 20 |
|
| 21 |
<refpurpose> |
| 22 |
<!-- |
| 23 |
Launch a console for the specified container |
| 24 |
--> |
| 25 |
지정한 컨테이너의 콘솔 실행 |
| 26 |
</refpurpose> |
| 27 |
</refnamediv> |
| 28 |
|
| 29 |
<refsynopsisdiv> |
| 30 |
<cmdsynopsis> |
| 31 |
<command>lxc-console</command> |
| 32 |
<arg choice="req">-n <replaceable>name</replaceable></arg> |
| 33 |
<arg choice="opt">-e <replaceable>escape character</replaceable></arg> |
| 34 |
<arg choice="opt">-t <replaceable>ttynum</replaceable></arg> |
| 35 |
</cmdsynopsis> |
| 36 |
</refsynopsisdiv> |
| 37 |
|
| 38 |
<refsect1> |
| 39 |
<title><!-- Description -->설명</title> |
| 40 |
|
| 41 |
<para> |
| 42 |
<!-- |
| 43 |
If the tty service has been configured and is available for the |
| 44 |
container specified as parameter, this command will launch a |
| 45 |
console allowing to log on the container. |
| 46 |
--> |
| 47 |
만약 파라미터로 지정한 컨테이너의 tty 서비스가 제대로 설정되어 있고 사용가능한 상태라면, 이 명령어는 컨테이너에 로그인 할 수 있는 콘솔을 실행한다. |
| 48 |
</para> |
| 49 |
|
| 50 |
<para> |
| 51 |
<!-- |
| 52 |
The available tty are free slots taken by this command. That |
| 53 |
means if the container has four ttys available and the command |
| 54 |
has been launched four times each taking a different tty, the |
| 55 |
fifth command will fail because no console will be available. |
| 56 |
--> |
| 57 |
사용가능한 tty는 이 명령어로 얻어올 수 있는 빈 슬롯을 의미한다. |
| 58 |
즉, 만약 컨테이너가 4개의 tty가 사용가능하고 명령어가 4번 실행하여 각각 다른 tty를 얻어왔다면, 다섯번째 명령은 실패할 것이다. 왜냐하면 가능한 콘솔이 없기 때문이다. |
| 59 |
</para> |
| 60 |
|
| 61 |
<para> |
| 62 |
<!-- |
| 63 |
The command will connect to a tty. If the connection is lost or |
| 64 |
broken, the command can be launched again and regain the tty at |
| 65 |
the state it was before the disconnection. |
| 66 |
--> |
| 67 |
명령어는 tty에 연결한다. 연결이 끊어지면, 명령어는 다시 실행되어 연결 끊기기 이전 상태에서 tty를 얻어오려고 시도한다. |
| 68 |
</para> |
| 69 |
|
| 70 |
<para> |
| 71 |
<!-- |
| 72 |
A <replaceable>ttynum</replaceable> of 0 may be given to attach |
| 73 |
to the container's /dev/console instead of its |
| 74 |
dev/tty<<replaceable>ttynum</replaceable>>. |
| 75 |
--> |
| 76 |
<replaceable>ttynum</replaceable>가 0으로 지정되어 있으면, 컨테이너의 /dev/console에 연결한다. 그렇지 않으면 dev/tty<<replaceable>ttynum</replaceable>>에 연결한다. |
| 77 |
</para> |
| 78 |
|
| 79 |
<para> |
| 80 |
<!-- |
| 81 |
A keyboard escape sequence may be used to disconnect from the tty |
| 82 |
and quit lxc-console. The default escape sequence is <Ctrl+a q>. |
| 83 |
--> |
| 84 |
tty 접속을 끊고 lxc-console을 나가고 싶다면 키보드 이스케이프 키를 이용하면 된다. 기본키는 <Ctrl+a q>이다. |
| 85 |
</para> |
| 86 |
|
| 87 |
</refsect1> |
| 88 |
|
| 89 |
<refsect1> |
| 90 |
<title><!-- Options -->옵션</title> |
| 91 |
<variablelist> |
| 92 |
|
| 93 |
<varlistentry> |
| 94 |
<term> |
| 95 |
<option>-e, --escape <replaceable>escape character</replaceable></option> |
| 96 |
</term> |
| 97 |
<listitem> |
| 98 |
<para> |
| 99 |
<!-- |
| 100 |
Specify the escape sequence prefix to use instead of |
| 101 |
<Ctrl a>. |
| 102 |
This may be given as '^letter' or just 'letter'. For example |
| 103 |
to use <Ctrl+b q> as the escape sequence use -e '^b'. |
| 104 |
--> |
| 105 |
<Ctrl a> 대신에 사용할 이스케이프 키 prefix를 지정한다. |
| 106 |
'^문자' 또는 '문자'로 지정 가능하다. |
| 107 |
예를 들어 <Ctrl+b q>를 사용하고 싶다면, -e '^b'와 같이 지정하면 된다. |
| 108 |
</para> |
| 109 |
</listitem> |
| 110 |
</varlistentry> |
| 111 |
<varlistentry> |
| 112 |
<term> |
| 113 |
<option>-t, --tty <replaceable>ttynum</replaceable></option> |
| 114 |
</term> |
| 115 |
<listitem> |
| 116 |
<para> |
| 117 |
<!-- |
| 118 |
Specify the tty number to connect to or 0 for the console. If not |
| 119 |
specified the next available tty number will be automatically |
| 120 |
chosen by the container. |
| 121 |
--> |
| 122 |
연결하고자 하는 tty의 번호 또는 콘솔 연결을 위해 0을 지정한다. |
| 123 |
지정하지 않으면, 다음으로 사용가능한 tty 번호를 컨테이너가 자동으로 선택한다. |
| 124 |
</para> |
| 125 |
</listitem> |
| 126 |
</varlistentry> |
| 127 |
|
| 128 |
</variablelist> |
| 129 |
|
| 130 |
</refsect1> |
| 131 |
|
| 132 |
&commonoptions; |
| 133 |
|
| 134 |
<refsect1> |
| 135 |
<title><!-- Diagnostic -->진단</title> |
| 136 |
|
| 137 |
<variablelist> |
| 138 |
|
| 139 |
<varlistentry> |
| 140 |
<term>tty service denied</term> |
| 141 |
<listitem> |
| 142 |
<para> |
| 143 |
<!-- |
| 144 |
No tty is available or there is not enough privilege to |
| 145 |
use the console. For example, the container belongs to |
| 146 |
user "foo" and "bar" is trying to open a console to it. |
| 147 |
--> |
| 148 |
사용가능한 tty가 없거나 콘솔을 사용하기에 충분한 privilege가 없다. |
| 149 |
예를 들면, 컨테이너가 "foo" 사용자 소유인데 "bar"가 콘솔을 열려고 하는 경우이다. |
| 150 |
</para> |
| 151 |
</listitem> |
| 152 |
</varlistentry> |
| 153 |
|
| 154 |
</variablelist> |
| 155 |
|
| 156 |
</refsect1> |
| 157 |
|
| 158 |
&seealso; |
| 159 |
|
| 160 |
</refentry> |
| 161 |
|
| 162 |
<!-- Keep this comment at the end of the file |
| 163 |
Local variables: |
| 164 |
mode: sgml |
| 165 |
sgml-omittag:t |
| 166 |
sgml-shorttag:t |
| 167 |
sgml-minimize-attributes:nil |
| 168 |
sgml-always-quote-attributes:t |
| 169 |
sgml-indent-step:2 |
| 170 |
sgml-indent-data:t |
| 171 |
sgml-parent-document:nil |
| 172 |
sgml-default-dtd-file:nil |
| 173 |
sgml-exposed-tags:nil |
| 174 |
sgml-local-catalogs:nil |
| 175 |
sgml-local-ecat-files:nil |
| 176 |
End: |
| 177 |
--> |