lxc-start-ephemeral.sgml.in revision 38d626f8bee1a2163f221f0c274c289a66bc08d2
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce(C) Copyright Canonical Ltd. 2013
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo SorceStéphane Graber <stgraber@ubuntu.com>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo SorceThis library is free software; you can redistribute it and/or
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorcemodify it under the terms of the GNU Lesser General Public
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo SorceLicense as published by the Free Software Foundation; either
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorceversion 2.1 of the License, or (at your option) any later version.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo SorceThis library is distributed in the hope that it will be useful,
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorcebut WITHOUT ANY WARRANTY; without even the implied warranty of
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo SorceMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo SorceLesser General Public License for more details.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo SorceYou should have received a copy of the GNU Lesser General Public
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo SorceLicense along with this library; if not, write to the Free Software
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo SorceFoundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo SorceTranslated into Japanese
a9d46b86993ee8d87fddf0ba50665c0b1b78ebb7Simo Sorceby KATOH Yasufumi <karma at jazz.email.ne.jp>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce<!DOCTYPE refentry PUBLIC @docdtd@ [
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce<!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
7a162ca3ea0bf8ef6b13795a00baa28d17f6131dJakub Hrozek <refentrytitle>lxc-start-ephemeral</refentrytitle>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <manvolnum>1</manvolnum>
f35f4e4c8bd5b834504c0554552d78db3624706aFabiano Fidêncio <refname>lxc-start-ephemeral</refname>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <refpurpose>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce start an ephemeral copy of an existing container
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek 存在するコンテナの一時的なコピーを起動
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce </refpurpose>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce </refnamediv>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <refsynopsisdiv>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <cmdsynopsis>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <command>lxc-start-ephemeral</command>
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek <arg choice="opt">-o</arg>
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek <arg choice="opt">-n</arg>
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek <arg choice="opt">-d</arg>
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek <arg choice="opt">--bdir</arg>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <arg choice="opt">--user</arg>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <arg choice="opt">--key</arg>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <arg choice="opt">--union-type</arg>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <arg choice="opt">--keep-data</arg>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <arg choice="opt">COMMAND</arg>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce </cmdsynopsis>
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek </refsynopsisdiv>
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek <title><!-- Description -->説明</title>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <command>lxc-start-ephemeral</command> start an ephemeral copy of an
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce existing container.
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek <command>lxc-start-ephemeral</command> は,存在するコンテナの一時的なコピーからコンテナを起動します.
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <title><!-- Options -->オプション</title>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <variablelist>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <varlistentry>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <option>-o</option>
f35f4e4c8bd5b834504c0554552d78db3624706aFabiano Fidêncio Original container name
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce </varlistentry>
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek <varlistentry>
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek <option><optional>-n</optional></option>
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek Name of the ephemeral container (defaults to a random suffix).
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce 一時的なコンテナの名前 (デフォルトではランダムなサフィックスが付与されます)
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce </varlistentry>
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek <varlistentry>
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek <option><optional>-d</optional></option>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce Start the container in background and print the name and IP.
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce This option can't be used if a command is passed.
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce コンテナをバックグラウンドで実行し,名前と IP アドレスを表示します.
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce このオプションはコマンドを実行させたいときには使用することはできません.
f35f4e4c8bd5b834504c0554552d78db3624706aFabiano Fidêncio </varlistentry>
60612b5fbdaaa62ebe6c7f4c27200316f08506d6Jakub Hrozek <varlistentry>
f35f4e4c8bd5b834504c0554552d78db3624706aFabiano Fidêncio <option><optional>--bdir</optional></option>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce Directory to bind mount into container.
60612b5fbdaaa62ebe6c7f4c27200316f08506d6Jakub Hrozek Can be passed multiple times.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce コンテナ内にバインドマウントするためのディレクトリ.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce </varlistentry>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce <varlistentry>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce <option><optional>--user</optional></option>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce The user to connect to the container as.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce Used when passing a command to lxc-start-ephemeral.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce コンテナに接続するためのユーザ.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce lxc-start-ephemeral にコマンドを指定するときに使います.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce </varlistentry>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce <varlistentry>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce <option><optional>--key</optional></option>
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek Copy the provided SSH public key into the container.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce コンテナ内にコピーする既存の SSH 公開鍵.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce </varlistentry>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce <varlistentry>
f35f4e4c8bd5b834504c0554552d78db3624706aFabiano Fidêncio <option><optional>--union-type</optional></option>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce Force a specific union file system.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce Can be one of: overlayfs aufs
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce 指定した union ファイルシステムを使用します.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce overlayfs か aufs のどちらかが使用できます.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce </varlistentry>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce <varlistentry>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce <option><optional>--keep-data</optional></option>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce Use a persistent backend instead of tmpfs.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce With this option, you can lxc-stop and lxc-start the no longer so
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce ephemeral container (it's still an overlay, but a persistent one).
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce tmpfs の代わりに永続的なバックエンドを使用します.このオプションを使うことにより,もはや一時的なコンテナではないので,lxc-stop や lxc-start を使用することができます (オーバーレイな状態ですが,永続的です).
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek </varlistentry>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce <varlistentry>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce <option><optional>COMMAND</optional></option>
8bb2fcbce7c3fcfd986f1bc835fbcc43ac7cd9d1Jakub Hrozek Immediately run the provided command in the container.
a9d46b86993ee8d87fddf0ba50665c0b1b78ebb7Simo Sorce This currently uses ssh (not attach) and is incompatible
a8361f37af31a8a9767056bd27c418c947293f56Fabiano Fidêncio with daemon mode.
f35f4e4c8bd5b834504c0554552d78db3624706aFabiano Fidêncio 即座に指定したコマンドをコンテナ内で実行します.現時点では (attach ではなく) ssh を使用します.そしてデーモンモードと両方を指定することはできません.
f35f4e4c8bd5b834504c0554552d78db3624706aFabiano Fidêncio </varlistentry>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce </variablelist>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce <title>See Also</title>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce <citerefentry>
8bb2fcbce7c3fcfd986f1bc835fbcc43ac7cd9d1Jakub Hrozek <refentrytitle>lxc-start</refentrytitle>
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek <manvolnum>1</manvolnum>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce </citerefentry>,
8bb2fcbce7c3fcfd986f1bc835fbcc43ac7cd9d1Jakub Hrozek <title><!-- Examples -->例</title>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce <variablelist>
8bb2fcbce7c3fcfd986f1bc835fbcc43ac7cd9d1Jakub Hrozek <varlistentry>
a9d46b86993ee8d87fddf0ba50665c0b1b78ebb7Simo Sorce <term>lxc-start-ephemeral -o p1</term>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce Simply start an ephemeral container and attach to the console.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce This container will be based on existing container "p1".
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce 単に一時的なコンテナを開始させ,コンソールにアタッチします.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce このコンテナは "p1" という既存のコンテナを基にします.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce </varlistentry>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce <varlistentry>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce <term>lxc-start-ephemeral -o p1 -n p1-ephemeral -d</term>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce Start an ephemeral container based on p1 called p1-ephemeral and
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce print its IP and name to the console instead of attaching.
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce p1 を基にした一時的なコンテナを開始し,コンソールにアタッチする代わりに IP アドレスと名前を表示します.
7128fadade544efcd86b113a5090b00d20993671Jakub Hrozek </varlistentry>
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorce </variablelist>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <title><!-- Author -->作者</title>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce <para>Stéphane Graber <email>stgraber@ubuntu.com</email></para>
625bb2ddf15e8f305a53afa44e87f2146fa930afSimo Sorce<!-- Keep this comment at the end of the file
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo SorceLocal variables:
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorcesgml-omittag:t
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorcesgml-shorttag:t
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorcesgml-minimize-attributes:nil
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorcesgml-always-quote-attributes:t
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorcesgml-indent-step:2
f35f4e4c8bd5b834504c0554552d78db3624706aFabiano Fidênciosgml-indent-data:t
f35f4e4c8bd5b834504c0554552d78db3624706aFabiano Fidênciosgml-parent-document:nil
8bb2fcbce7c3fcfd986f1bc835fbcc43ac7cd9d1Jakub Hrozeksgml-default-dtd-file:nil
f35f4e4c8bd5b834504c0554552d78db3624706aFabiano Fidênciosgml-exposed-tags:nil
f35f4e4c8bd5b834504c0554552d78db3624706aFabiano Fidênciosgml-local-catalogs:nil
1dd679584241a0f9b29072c7eed1c5c5e4a577e4Simo Sorcesgml-local-ecat-files:nil