# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2022-01-06 13:52+0900\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: Title == #, no-wrap msgid "LINSTOR Volumes in Docker" msgstr "DockerのLINSTORボリューム" #. type: Plain text msgid "" "indexterm:[docker]This chapter describes LINSTOR volumes in Docker as " "managed by the https://github.com/LINBIT/linstor-docker-volume-go[LINSTOR " "Docker Volume Plugin]." msgstr "" "indexterm:[docker]この章では https://github.com/LINBIT/linstor-docker-volume-" "go[LINSTOR Docker Volume Plugin] で管理されているDockerのLINSTORボリュームに" "ついて説明します。" #. type: Title === #, no-wrap msgid "Docker Overview" msgstr "Dockerの概要" #. type: Plain text msgid "" "_Docker_ is a platform for developing, shipping, and running applications in " "the form of Linux containers. For stateful applications that require data " "persistence, Docker supports the use of persistent _volumes_ and " "_volume_drivers_." msgstr "" "_Docker_ は、Linuxコンテナの形でアプリケーションを開発、出荷、および実行する" "ためのプラットフォームです。データの永続化を必要とするステートフルアプリケー" "ションのために、Dockerは永続的な _volumes_ と _volume_drivers_ の使用をサポー" "トします。" #. type: Plain text msgid "" "The https://github.com/LINBIT/linstor-docker-volume-go[LINSTOR Docker Volume " "Plugin] is a volume driver that provisions persistent volumes from a LINSTOR " "cluster for Docker containers." msgstr "" "https://github.com/LINBIT/linstor-docker-volume-go[LINSTOR Docker Volume " "Plugin] は、LINSTORクラスタから永続的ボリュームをプロビジョニングするDockerコ" "ンテナ用のボリュームドライバです。" #. type: Title === #, no-wrap msgid "LINSTOR Plugin for Docker Installation" msgstr "Dockerインストール用のLINSTORプラグイン" #. type: Plain text msgid "" "To install the `linstor-docker-volume` plugin provided by LINBIT, you'll " "need to have a working LINSTOR cluster. After that the plugin can be " "installed from the public docker hub." msgstr "" "LINBITが提供する `linstor-docker-volume` プラグインをインストールするには、稼" "働中の LINSTOR クラスターが必要です。その後、プラグインはパブリック Docker ハ" "ブからインストールできます。" #. type: delimited block - #, no-wrap msgid "# docker plugin install linbit/linstor-docker-volume --grant-all-permissions\n" msgstr "# docker plugin install linbit/linstor-docker-volume --grant-all-permissions\n" #. type: Plain text msgid "" "The `--grant-all-permissions` flag will automatically grant all permissions " "needed to successfully install the plugin. If you'd like to manually accept " "these, omit the flag from the command above." msgstr "" "`--grant-all-permissions` フラグは、プラグインを正常にインストールするために" "必要なすべての権限を自動的に受け入れます。これらを手動で受け入れる場合は、上" "記のコマンドからフラグを省略してください。" #. type: Plain text msgid "" "The implicit `:latest` tag is the latest `amd64` version. We currently also " "build for `arm64` with the according tag. Installing the `arm64` plugin " "looks like this:" msgstr "" "暗黙の `:latest` タグは、最新の `amd64` バージョンです。現在、対応するタグを" "使用して `arm64` 用にもビルドしています。`arm64` プラグインのインストールは次" "のようになります。" #. type: delimited block - #, no-wrap msgid "# docker plugin install linbit/linstor-docker-volume:arm64 --grant-all-permissions\n" msgstr "# docker plugin install linbit/linstor-docker-volume:arm64 --grant-all-permissions\n" #. type: Title === #, no-wrap msgid "LINSTOR Plugin for Docker Configuration" msgstr "Docker設定用のLINSTORプラグイン" #. type: Plain text msgid "" "As the plugin has to communicate to the LINSTOR controller via the LINSTOR " "python library, we must tell the plugin where to find the LINSTOR Controller " "node in its configuration file:" msgstr "" "プラグインはLINSTOR pythonライブラリを介してLINSTORコントローラと通信する必要" "があるので、プラグインの設定ファイルでLINSTORコントローラノードの場所を指定す" "る必要があります。" #. type: delimited block - #, no-wrap msgid "" "# cat /etc/linstor/docker-volume.conf\n" "[global]\n" "controllers = linstor://hostnameofcontroller\n" msgstr "" "# cat /etc/linstor/docker-volume.conf\n" "[global]\n" "controllers = linstor://hostnameofcontroller\n" #. type: Plain text msgid "A more extensive example could look like this:" msgstr "詳しくは次のようになります。" #. type: delimited block - #, no-wrap msgid "" "# cat /etc/linstor/docker-volume.conf\n" "[global]\n" "storagepool = thin-lvm\n" "fs = ext4\n" "fsopts = -E discard\n" "size = 100MB\n" "replicas = 2\n" msgstr "" "# cat /etc/linstor/docker-volume.conf\n" "[global]\n" "storagepool = thin-lvm\n" "fs = ext4\n" "fsopts = -E discard\n" "size = 100MB\n" "replicas = 2\n" #. type: Title === #, no-wrap msgid "Example Usage" msgstr "使用例" #. type: Plain text msgid "" "The following are some examples of how you might use the LINSTOR Docker " "Volume Plugin. In the following we expect a cluster consisting of three " "nodes (alpha, bravo, and charlie)." msgstr "" "以下は、LINSTOR Docker Volume Pluginの使用例です。以下では、3つのノード " "(alpha, bravo, charlie) からなるクラスターを想定しています。" #. type: Title ==== #, no-wrap msgid "Example 1 - typical docker pattern" msgstr "例1 - 典型的なdockerパターン" #. type: Plain text msgid "On node alpha:" msgstr "ノードalpha上:" #. type: delimited block - #, no-wrap msgid "" "$ docker volume create -d linbit/linstor-docker-volume \\\n" " --opt fs=xfs --opt size=200 lsvol\n" "$ docker run -it --rm --name=cont \\\n" " -v lsvol:/data --volume-driver=linbit/linstor-docker-volume busybox sh\n" "$ root@cont: echo \"foo\" > /data/test.txt\n" "$ root@cont: exit\n" msgstr "" "$ docker volume create -d linbit/linstor-docker-volume \\\n" " --opt fs=xfs --opt size=200 lsvol\n" "$ docker run -it --rm --name=cont \\\n" " -v lsvol:/data --volume-driver=linbit/linstor-docker-volume busybox sh\n" "$ root@cont: echo \"foo\" > /data/test.txt\n" "$ root@cont: exit\n" #. type: Plain text msgid "On node bravo:" msgstr "ノードbravo上:" #. type: delimited block - #, no-wrap msgid "" "$ docker run -it --rm --name=cont \\\n" " -v lsvol:/data --volume-driver=linbit/linstor-docker-volume busybox sh\n" "$ root@cont: cat /data/test.txt\n" " foo\n" "$ root@cont: exit\n" "$ docker volume rm lsvol\n" msgstr "" "$ docker run -it --rm --name=cont \\\n" " -v lsvol:/data --volume-driver=linbit/linstor-docker-volume busybox sh\n" "$ root@cont: cat /data/test.txt\n" " foo\n" "$ root@cont: exit\n" "$ docker volume rm lsvol\n" #. type: Title ==== #, no-wrap msgid "Example 2 - one diskful assignment by name, two nodes diskless" msgstr "例2 - ホスト指定で1つのディスクフル割り当て、2つのディスクレスノード" #. type: delimited block - #, no-wrap msgid "$ docker volume create -d linbit/linstor-docker-volume --opt nodes=bravo lsvol\n" msgstr "$ docker volume create -d linbit/linstor-docker-volume --opt nodes=bravo lsvol\n" #. type: Title ==== #, no-wrap msgid "Example 3 - one diskful assignment, no matter where, two nodes diskless" msgstr "例3 - どこかに1つのディスクフル割り当て、2つのディスクレスノード" #. type: delimited block - #, no-wrap msgid "$ docker volume create -d linbit/linstor-docker-volume --opt replicas=1 lsvol\n" msgstr "$ docker volume create -d linbit/linstor-docker-volume --opt replicas=1 lsvol\n" #. type: Title ==== #, no-wrap msgid "Example 4 - two diskful assignments by name, charlie diskless" msgstr "例4 - ホスト指定で2つのディスクフル割り当て、charlie はディスクレス" #. type: delimited block - #, no-wrap msgid "$ docker volume create -d linbit/linstor-docker-volume --opt nodes=alpha,bravo lsvol\n" msgstr "$ docker volume create -d linbit/linstor-docker-volume --opt nodes=alpha,bravo lsvol\n" #. type: Title ==== #, no-wrap msgid "Example 5 - two diskful assignments, no matter where, one node diskless" msgstr "例5 - どこかに2つのディスクフル割り当て、1つのディスクレスノード" #. type: delimited block - #, no-wrap msgid "$ docker volume create -d linbit/linstor-docker-volume --opt replicas=2 lsvol\n" msgstr "$ docker volume create -d linbit/linstor-docker-volume --opt replicas=2 lsvol\n" #. type: Title ==== #, no-wrap msgid "Example 6 - using LINSTOR volumes with services from Docker swarm manager node" msgstr "例6 - Docker swarm manager ノードからのサービスで LINSTOR ボリュームを使用する" #. type: delimited block - #, no-wrap msgid "" "$ docker service create \\\n" " --mount type=volume,src=lsvol,dst=/data,volume-driver=linbit/linstor-docker-volume \\\n" " --name swarmsrvc busybox sh -c \"while true; do sleep 1000s; done\"\n" msgstr "" "$ docker service create \\\n" " --mount type=volume,src=lsvol,dst=/data,volume-driver=linbit/linstor-docker-volume \\\n" " --name swarmsrvc busybox sh -c \"while true; do sleep 1000s; done\"\n" #. type: Plain text msgid "" "Docker services do not accept the `-v` or `--volume` syntax, you must use " "the `--mount` syntax. Docker `run` will accept either syntax." msgstr ""