[lxc-devel] [linuxcontainers.org/master] Update Japanese instructions for current LXD
tenforward on Github
lxc-bot at linuxcontainers.org
Thu Mar 3 11:02:21 UTC 2016
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 431 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160303/7a40307b/attachment.bin>
-------------- next part --------------
From 781ef6fd189f13d1d6bc0b860ca6f8ba71f21236 Mon Sep 17 00:00:00 2001
From: KATOH Yasufumi <karma at jazz.email.ne.jp>
Date: Thu, 3 Mar 2016 18:06:42 +0900
Subject: [PATCH] Update Japanese instructions for current LXD
* Update for commit b7dd5f7
* Fix html in English try-it
Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
---
content/lxd/getting-started-cli.ja.md | 40 ++++++++++++-----------------------
content/lxd/try-it.html | 3 ++-
content/lxd/try-it.ja.html | 36 +++++++++++++++++++++----------
3 files changed, 41 insertions(+), 38 deletions(-)
diff --git a/content/lxd/getting-started-cli.ja.md b/content/lxd/getting-started-cli.ja.md
index 16d11ba..4687401 100644
--- a/content/lxd/getting-started-cli.ja.md
+++ b/content/lxd/getting-started-cli.ja.md
@@ -98,7 +98,7 @@ There are three ways to feed that image store:
イメージストアにイメージを取得する方法は 3 つあります:
1. イメージサーバとしてリモートの LXD を使う <!-- Use a remote LXD as an image server -->
- 2. lxd-images スクリプトを使って、LXD 用でないものからイメージをインポートする <!-- Use the lxd-images script to import an image from a non-LXD source -->
+ 2. ビルトインされているイメージ用リモートサーバを使う <!-- Use the built-in image remotes -->
3. 以下のように手動でインポートする <!-- Manually import one using -->
lxc image import <file> --alias <name>
@@ -109,8 +109,8 @@ Using a remote image server is as simple as adding it as a remote and just using
-->
リモートのイメージサーバを使うと、リモートサーバとして追加してそれを使うだけですので、とても簡単です:
- lxc remote add images images.linuxcontainers.org
- lxc launch images:centos/7/amd64 centos
+ lxc remote add images 1.2.3.4
+ lxc launch images:image-name your-container
<!--
An image list can be obtained with:
@@ -119,36 +119,24 @@ An image list can be obtained with:
lxc image list images:
-## lxd-images を使ってイメージをインポートする <!-- Using lxd-images to import an image -->
+## ビルトインされているイメージ用リモートサーバを使う <!-- Using the built-in image remotes -->
<!--
-lxd-images is a python script which knows about non-LXD image servers
-and can pull and import images for you.
+LXD comes with 3 default remotes providing images:
-->
-lxd-images は python スクリプトで、LXD 用でないイメージサーバからイメージを取得してインポートできます。
+LXD にはデフォルトでイメージを提供するリモートサーバが 3 つ登録されています:
-<!--
-It currently supports two sources:
--->
-現時点では、2 つのソースをサポートしています:
-
- 1. 手元に存在する busyboxy バイナリから busybox イメージを作成する (テスト用) <!-- A local busybox image made from your existing busybox binary (used for testing) -->
- 2. 公式の feed から取得した Ubuntu クラウドイメージ <!-- Ubuntu cloud images taken from the official simplestream feed -->
-
-<!--
-Importing a new image can be done with:
--->
-新しいイメージの取得は以下のように行います:
-
- lxd-images import busybox --alias busybox
- lxd-images import ubuntu --alias ubuntu
+ 1. ubuntu: (stable Ubuntu イメージ用 <!-- for stable Ubuntu images -->)
+ 2. ubuntu-daily: (daily Ubuntu イメージ用 <!-- for daily Ubuntu images -->)
+ 3. images: (その他の多数のディストリビューション用 <!-- for a bunch of other distros -->)
<!--
-And then simply using the image to start containers:
+To start a container from them, simply do:
-->
-その後、コンテナを起動するために単にそのイメージを使うだけです:
+これらのビルトインのリモートサーバからコンテナを起動するには、以下のように実行します:
- lxc launch busybox my-busybox
- lxc launch ubuntu my-ubuntu
+ lxc launch ubuntu:14.04 my-ubuntu
+ lxc launch ubuntu-daily:16.04 my-ubuntu-dev
+ lxc launch images:centos/6/amd64 my-centos
## 手動でイメージをインポートする <!-- Manually importing an image -->
<!--
diff --git a/content/lxd/try-it.html b/content/lxd/try-it.html
index 6fef89a..00fe1de 100644
--- a/content/lxd/try-it.html
+++ b/content/lxd/try-it.html
@@ -384,7 +384,8 @@ <h4 class="panel-title">
</p>
<p>It comes pre-added with default LXD but you
- can remove it or change it if you don't want it.</pre>
+ can remove it or change it if you don't want it.
+ </p>
<p>You can list the available images with:
<pre>lxc image list images: | less</pre>
diff --git a/content/lxd/try-it.ja.html b/content/lxd/try-it.ja.html
index 1c8f456..1a7b72f 100644
--- a/content/lxd/try-it.ja.html
+++ b/content/lxd/try-it.ja.html
@@ -156,16 +156,30 @@ <h4 class="panel-title">
<div class="panel-collapse collapse" id="tryit_intro_b2"
role="tabpanel">
<div class="panel-body">
- <p><!-- LXD is image based, you can list the available
- local images: -->
- LXD はイメージベースです。ローカルのイメージリストを以下のように取得できます。
- <pre>lxc image list</pre>
+ <p><!-- LXD is image based, however by default no
+ images are loaded into the image store as can
+ be seen with: -->
+ LXD はイメージベースです。しかし、デフォルトでは以下のコマンドの結果のように、イメージはロードされていません: <pre>lxc image list</pre>
</p>
- <p><!-- Then launch a first container called "first"
- using the "ubuntu" image: -->
- それでは "ubuntu" イメージを使って "first" という名前の最初のコンテナを起動してみましょう。
- <pre>lxc launch ubuntu first</pre>
+ <p><!-- LXD knows about 3 default image servers: -->
+ LXD はデフォルトでイメージサーバが 3 つ登録されています:
+ <ul>
+ <li>ubuntu: (Ubuntu stable イメージ用 <!-- for Ubuntu stable images -->)</li>
+ <li>ubuntu-daily: (Ubuntu daily イメージ用 <!-- for Ubuntu daily images -->)</li>
+ <li>images: (その他多数のディストリビューション用 <!-- for a bunch of other distributions -->)</li>
+ </ul>
+ </p>
+
+ <p><!-- The stable Ubuntu images can be listed with: -->
+ stable の Ubuntu イメージは以下のようにリスト表示できます:
+ <pre>lxc image list ubuntu: | less</pre>
+ </p>
+
+ <p><!-- To launch a first container called "first"
+ using the Ubuntu 14.04 image, use: -->
+ "first" という名前の最初のコンテナを起動するには、以下のようにします:
+ <pre>lxc launch ubuntu:14.04 first</pre>
</p>
<p><!-- Your new container will now be visible in: -->
@@ -396,9 +410,9 @@ <h4 class="panel-title">
LXC 開発元はこのようなサーバを <a href="https://images.linuxcontainers.org">https://images.linuxcontainers.org</a> で運用しています。ここでは、色々な Linux ディストリビューションのイメージを自動的に作成して提供しています。
</p>
- <p><!-- To connect to that image server, do: -->
- このイメージサーバに接続するには、以下のように実行します。
- <pre>lxc remote add images images.linuxcontainers.org</pre>
+ <p><!-- It comes pre-added with default LXD but you
+ can remove it or change it if you don't want it. -->
+ このサーバはデフォルトで LXD に登録されています。もしこのサーバを使わない場合は、デフォルトの登録を変更したり、削除したりできます。
</p>
<p><!-- You can list the available images with: -->
More information about the lxc-devel
mailing list