2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!--
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoolxc: linux Container library
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo(C) Copyright IBM Corp. 2007, 2008
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooAuthors:
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooDaniel Lezcano <daniel.lezcano at free.fr>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooThis library is free software; you can redistribute it and/or
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoomodify it under the terms of the GNU Lesser General Public
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooLicense as published by the Free Software Foundation; either
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooversion 2.1 of the License, or (at your option) any later version.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooThis library is distributed in the hope that it will be useful,
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoobut WITHOUT ANY WARRANTY; without even the implied warranty of
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooLesser General Public License for more details.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooYou should have received a copy of the GNU Lesser General Public
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooLicense along with this library; if not, write to the Free Software
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooTranslated into Korean
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yooby Sungbae Yoo <sungbae.yoo at samsung.com>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo-->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!DOCTYPE refentry PUBLIC @docdtd@ [
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo]>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<refentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <refmeta>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <refentrytitle>lxc-console</refentrytitle>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <manvolnum>1</manvolnum>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </refmeta>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <refnamediv>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <refname>lxc-console</refname>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <refpurpose>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <!--
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo Launch a console for the specified container
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo -->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo 지정한 컨테이너의 콘솔 실행
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </refpurpose>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </refnamediv>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <refsynopsisdiv>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <cmdsynopsis>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <command>lxc-console</command>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <arg choice="req">-n <replaceable>name</replaceable></arg>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <arg choice="opt">-e <replaceable>escape character</replaceable></arg>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <arg choice="opt">-t <replaceable>ttynum</replaceable></arg>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </cmdsynopsis>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </refsynopsisdiv>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <title><!-- Description -->설명</title>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <!--
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo If the tty service has been configured and is available for the
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo container specified as parameter, this command will launch a
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo console allowing to log on the container.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo -->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo 만약 파라미터로 지정한 컨테이너의 tty 서비스가 제대로 설정되어 있고 사용가능한 상태라면, 이 명령어는 컨테이너에 로그인 할 수 있는 콘솔을 실행한다.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <!--
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo The available tty are free slots taken by this command. That
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo means if the container has four ttys available and the command
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo has been launched four times each taking a different tty, the
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo fifth command will fail because no console will be available.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo -->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo 사용가능한 tty는 이 명령어로 얻어올 수 있는 빈 슬롯을 의미한다.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo 즉, 만약 컨테이너가 4개의 tty가 사용가능하고 명령어가 4번 실행하여 각각 다른 tty를 얻어왔다면, 다섯번째 명령은 실패할 것이다. 왜냐하면 가능한 콘솔이 없기 때문이다.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <!--
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo The command will connect to a tty. If the connection is lost or
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo broken, the command can be launched again and regain the tty at
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo the state it was before the disconnection.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo -->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo 명령어는 tty에 연결한다. 연결이 끊어지면, 명령어는 다시 실행되어 연결 끊기기 이전 상태에서 tty를 얻어오려고 시도한다.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <!--
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo A <replaceable>ttynum</replaceable> of 0 may be given to attach
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo to the container's /dev/console instead of its
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo dev/tty&lt;<replaceable>ttynum</replaceable>&gt;.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo -->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <replaceable>ttynum</replaceable>가 0으로 지정되어 있으면, 컨테이너의 /dev/console에 연결한다. 그렇지 않으면 dev/tty&lt;<replaceable>ttynum</replaceable>&gt;에 연결한다.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <!--
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo A keyboard escape sequence may be used to disconnect from the tty
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo and quit lxc-console. The default escape sequence is &lt;Ctrl+a q&gt;.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo -->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo tty 접속을 끊고 lxc-console을 나가고 싶다면 키보드 이스케이프 키를 이용하면 된다. 기본키는 &lt;Ctrl+a q&gt;이다.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <title><!-- Options -->옵션</title>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <variablelist>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <term>
1bc07a5b8dbaef4b6eb6d30a260e9c2153ed368bKATOH Yasufumi <option>-e, --escape <replaceable>escape character</replaceable></option>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </term>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <listitem>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <!--
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo Specify the escape sequence prefix to use instead of
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo &lt;Ctrl a&gt;.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo This may be given as '^letter' or just 'letter'. For example
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo to use &lt;Ctrl+b q&gt; as the escape sequence use -e '^b'.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo -->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo &lt;Ctrl a&gt; 대신에 사용할 이스케이프 키 prefix를 지정한다.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo '^문자' 또는 '문자'로 지정 가능하다.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo 예를 들어 &lt;Ctrl+b q&gt;를 사용하고 싶다면, -e '^b'와 같이 지정하면 된다.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </listitem>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <term>
1bc07a5b8dbaef4b6eb6d30a260e9c2153ed368bKATOH Yasufumi <option>-t, --tty <replaceable>ttynum</replaceable></option>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </term>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <listitem>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <!--
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo Specify the tty number to connect to or 0 for the console. If not
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo specified the next available tty number will be automatically
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo chosen by the container.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo -->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo 연결하고자 하는 tty의 번호 또는 콘솔 연결을 위해 0을 지정한다.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo 지정하지 않으면, 다음으로 사용가능한 tty 번호를 컨테이너가 자동으로 선택한다.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </listitem>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </variablelist>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo &commonoptions;
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <title><!-- Diagnostic -->진단</title>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <variablelist>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <term>tty service denied</term>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <listitem>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <!--
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo No tty is available or there is not enough privilege to
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo use the console. For example, the container belongs to
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo user "foo" and "bar" is trying to open a console to it.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo -->
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo 사용가능한 tty가 없거나 콘솔을 사용하기에 충분한 privilege가 없다.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo 예를 들면, 컨테이너가 "foo" 사용자 소유인데 "bar"가 콘솔을 열려고 하는 경우이다.
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </listitem>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </varlistentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </variablelist>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo &seealso;
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <title><!-- Author -->저자</title>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo <para>Daniel Lezcano <email>daniel.lezcano@free.fr</email></para>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo </refsect1>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo</refentry>
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo<!-- Keep this comment at the end of the file
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooLocal variables:
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoomode: sgml
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoosgml-omittag:t
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoosgml-shorttag:t
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoosgml-minimize-attributes:nil
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoosgml-always-quote-attributes:t
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoosgml-indent-step:2
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoosgml-indent-data:t
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoosgml-parent-document:nil
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoosgml-default-dtd-file:nil
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoosgml-exposed-tags:nil
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoosgml-local-catalogs:nil
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoosgml-local-ecat-files:nil
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae YooEnd:
2b371b262f7272266ff18cc2aff65176a2c16383Sungbae Yoo-->