| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 9 |
"POT-Creation-Date: 2022-01-06 13:52+0900\n" |
| 10 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 11 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 12 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 13 |
"Language: \n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
|
| 18 |
#. type: Title == |
| 19 |
#, no-wrap |
| 20 |
msgid "LINSTOR Volumes in Docker" |
| 21 |
msgstr "DockerのLINSTORボリューム" |
| 22 |
|
| 23 |
#. type: Plain text |
| 24 |
msgid "" |
| 25 |
"indexterm:[docker]This chapter describes LINSTOR volumes in Docker as " |
| 26 |
"managed by the https://github.com/LINBIT/linstor-docker-volume-go[LINSTOR " |
| 27 |
"Docker Volume Plugin]." |
| 28 |
msgstr "" |
| 29 |
"indexterm:[docker]この章では https://github.com/LINBIT/linstor-docker-volume-" |
| 30 |
"go[LINSTOR Docker Volume Plugin] で管理されているDockerのLINSTORボリュームに" |
| 31 |
"ついて説明します。" |
| 32 |
|
| 33 |
#. type: Title === |
| 34 |
#, no-wrap |
| 35 |
msgid "Docker Overview" |
| 36 |
msgstr "Dockerの概要" |
| 37 |
|
| 38 |
#. type: Plain text |
| 39 |
msgid "" |
| 40 |
"_Docker_ is a platform for developing, shipping, and running applications in " |
| 41 |
"the form of Linux containers. For stateful applications that require data " |
| 42 |
"persistence, Docker supports the use of persistent _volumes_ and " |
| 43 |
"_volume_drivers_." |
| 44 |
msgstr "" |
| 45 |
"_Docker_ は、Linuxコンテナの形でアプリケーションを開発、出荷、および実行する" |
| 46 |
"ためのプラットフォームです。データの永続化を必要とするステートフルアプリケー" |
| 47 |
"ションのために、Dockerは永続的な _volumes_ と _volume_drivers_ の使用をサポー" |
| 48 |
"トします。" |
| 49 |
|
| 50 |
#. type: Plain text |
| 51 |
msgid "" |
| 52 |
"The https://github.com/LINBIT/linstor-docker-volume-go[LINSTOR Docker Volume " |
| 53 |
"Plugin] is a volume driver that provisions persistent volumes from a LINSTOR " |
| 54 |
"cluster for Docker containers." |
| 55 |
msgstr "" |
| 56 |
"https://github.com/LINBIT/linstor-docker-volume-go[LINSTOR Docker Volume " |
| 57 |
"Plugin] は、LINSTORクラスタから永続的ボリュームをプロビジョニングするDockerコ" |
| 58 |
"ンテナ用のボリュームドライバです。" |
| 59 |
|
| 60 |
#. type: Title === |
| 61 |
#, no-wrap |
| 62 |
msgid "LINSTOR Plugin for Docker Installation" |
| 63 |
msgstr "Dockerインストール用のLINSTORプラグイン" |
| 64 |
|
| 65 |
#. type: Plain text |
| 66 |
msgid "" |
| 67 |
"To install the `linstor-docker-volume` plugin provided by LINBIT, you'll " |
| 68 |
"need to have a working LINSTOR cluster. After that the plugin can be " |
| 69 |
"installed from the public docker hub." |
| 70 |
msgstr "" |
| 71 |
"LINBITが提供する `linstor-docker-volume` プラグインをインストールするには、稼" |
| 72 |
"働中の LINSTOR クラスターが必要です。その後、プラグインはパブリック Docker ハ" |
| 73 |
"ブからインストールできます。" |
| 74 |
|
| 75 |
#. type: delimited block - |
| 76 |
#, no-wrap |
| 77 |
msgid "# docker plugin install linbit/linstor-docker-volume --grant-all-permissions\n" |
| 78 |
msgstr "# docker plugin install linbit/linstor-docker-volume --grant-all-permissions\n" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
msgid "" |
| 82 |
"The `--grant-all-permissions` flag will automatically grant all permissions " |
| 83 |
"needed to successfully install the plugin. If you'd like to manually accept " |
| 84 |
"these, omit the flag from the command above." |
| 85 |
msgstr "" |
| 86 |
"`--grant-all-permissions` フラグは、プラグインを正常にインストールするために" |
| 87 |
"必要なすべての権限を自動的に受け入れます。これらを手動で受け入れる場合は、上" |
| 88 |
"記のコマンドからフラグを省略してください。" |
| 89 |
|
| 90 |
#. type: Plain text |
| 91 |
msgid "" |
| 92 |
"The implicit `:latest` tag is the latest `amd64` version. We currently also " |
| 93 |
"build for `arm64` with the according tag. Installing the `arm64` plugin " |
| 94 |
"looks like this:" |
| 95 |
msgstr "" |
| 96 |
"暗黙の `:latest` タグは、最新の `amd64` バージョンです。現在、対応するタグを" |
| 97 |
"使用して `arm64` 用にもビルドしています。`arm64` プラグインのインストールは次" |
| 98 |
"のようになります。" |
| 99 |
|
| 100 |
#. type: delimited block - |
| 101 |
#, no-wrap |
| 102 |
msgid "# docker plugin install linbit/linstor-docker-volume:arm64 --grant-all-permissions\n" |
| 103 |
msgstr "# docker plugin install linbit/linstor-docker-volume:arm64 --grant-all-permissions\n" |
| 104 |
|
| 105 |
#. type: Title === |
| 106 |
#, no-wrap |
| 107 |
msgid "LINSTOR Plugin for Docker Configuration" |
| 108 |
msgstr "Docker設定用のLINSTORプラグイン" |
| 109 |
|
| 110 |
#. type: Plain text |
| 111 |
msgid "" |
| 112 |
"As the plugin has to communicate to the LINSTOR controller via the LINSTOR " |
| 113 |
"python library, we must tell the plugin where to find the LINSTOR Controller " |
| 114 |
"node in its configuration file:" |
| 115 |
msgstr "" |
| 116 |
"プラグインはLINSTOR pythonライブラリを介してLINSTORコントローラと通信する必要" |
| 117 |
"があるので、プラグインの設定ファイルでLINSTORコントローラノードの場所を指定す" |
| 118 |
"る必要があります。" |
| 119 |
|
| 120 |
#. type: delimited block - |
| 121 |
#, no-wrap |
| 122 |
msgid "" |
| 123 |
"# cat /etc/linstor/docker-volume.conf\n" |
| 124 |
"[global]\n" |
| 125 |
"controllers = linstor://hostnameofcontroller\n" |
| 126 |
msgstr "" |
| 127 |
"# cat /etc/linstor/docker-volume.conf\n" |
| 128 |
"[global]\n" |
| 129 |
"controllers = linstor://hostnameofcontroller\n" |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
msgid "A more extensive example could look like this:" |
| 133 |
msgstr "詳しくは次のようになります。" |
| 134 |
|
| 135 |
#. type: delimited block - |
| 136 |
#, no-wrap |
| 137 |
msgid "" |
| 138 |
"# cat /etc/linstor/docker-volume.conf\n" |
| 139 |
"[global]\n" |
| 140 |
"storagepool = thin-lvm\n" |
| 141 |
"fs = ext4\n" |
| 142 |
"fsopts = -E discard\n" |
| 143 |
"size = 100MB\n" |
| 144 |
"replicas = 2\n" |
| 145 |
msgstr "" |
| 146 |
"# cat /etc/linstor/docker-volume.conf\n" |
| 147 |
"[global]\n" |
| 148 |
"storagepool = thin-lvm\n" |
| 149 |
"fs = ext4\n" |
| 150 |
"fsopts = -E discard\n" |
| 151 |
"size = 100MB\n" |
| 152 |
"replicas = 2\n" |
| 153 |
|
| 154 |
#. type: Title === |
| 155 |
#, no-wrap |
| 156 |
msgid "Example Usage" |
| 157 |
msgstr "使用例" |
| 158 |
|
| 159 |
#. type: Plain text |
| 160 |
msgid "" |
| 161 |
"The following are some examples of how you might use the LINSTOR Docker " |
| 162 |
"Volume Plugin. In the following we expect a cluster consisting of three " |
| 163 |
"nodes (alpha, bravo, and charlie)." |
| 164 |
msgstr "" |
| 165 |
"以下は、LINSTOR Docker Volume Pluginの使用例です。以下では、3つのノード " |
| 166 |
"(alpha, bravo, charlie) からなるクラスターを想定しています。" |
| 167 |
|
| 168 |
#. type: Title ==== |
| 169 |
#, no-wrap |
| 170 |
msgid "Example 1 - typical docker pattern" |
| 171 |
msgstr "例1 - 典型的なdockerパターン" |
| 172 |
|
| 173 |
#. type: Plain text |
| 174 |
msgid "On node alpha:" |
| 175 |
msgstr "ノードalpha上:" |
| 176 |
|
| 177 |
#. type: delimited block - |
| 178 |
#, no-wrap |
| 179 |
msgid "" |
| 180 |
"$ docker volume create -d linbit/linstor-docker-volume \\\n" |
| 181 |
" --opt fs=xfs --opt size=200 lsvol\n" |
| 182 |
"$ docker run -it --rm --name=cont \\\n" |
| 183 |
" -v lsvol:/data --volume-driver=linbit/linstor-docker-volume busybox sh\n" |
| 184 |
"$ root@cont: echo \"foo\" > /data/test.txt\n" |
| 185 |
"$ root@cont: exit\n" |
| 186 |
msgstr "" |
| 187 |
"$ docker volume create -d linbit/linstor-docker-volume \\\n" |
| 188 |
" --opt fs=xfs --opt size=200 lsvol\n" |
| 189 |
"$ docker run -it --rm --name=cont \\\n" |
| 190 |
" -v lsvol:/data --volume-driver=linbit/linstor-docker-volume busybox sh\n" |
| 191 |
"$ root@cont: echo \"foo\" > /data/test.txt\n" |
| 192 |
"$ root@cont: exit\n" |
| 193 |
|
| 194 |
#. type: Plain text |
| 195 |
msgid "On node bravo:" |
| 196 |
msgstr "ノードbravo上:" |
| 197 |
|
| 198 |
#. type: delimited block - |
| 199 |
#, no-wrap |
| 200 |
msgid "" |
| 201 |
"$ docker run -it --rm --name=cont \\\n" |
| 202 |
" -v lsvol:/data --volume-driver=linbit/linstor-docker-volume busybox sh\n" |
| 203 |
"$ root@cont: cat /data/test.txt\n" |
| 204 |
" foo\n" |
| 205 |
"$ root@cont: exit\n" |
| 206 |
"$ docker volume rm lsvol\n" |
| 207 |
msgstr "" |
| 208 |
"$ docker run -it --rm --name=cont \\\n" |
| 209 |
" -v lsvol:/data --volume-driver=linbit/linstor-docker-volume busybox sh\n" |
| 210 |
"$ root@cont: cat /data/test.txt\n" |
| 211 |
" foo\n" |
| 212 |
"$ root@cont: exit\n" |
| 213 |
"$ docker volume rm lsvol\n" |
| 214 |
|
| 215 |
#. type: Title ==== |
| 216 |
#, no-wrap |
| 217 |
msgid "Example 2 - one diskful assignment by name, two nodes diskless" |
| 218 |
msgstr "例2 - ホスト指定で1つのディスクフル割り当て、2つのディスクレスノード" |
| 219 |
|
| 220 |
#. type: delimited block - |
| 221 |
#, no-wrap |
| 222 |
msgid "$ docker volume create -d linbit/linstor-docker-volume --opt nodes=bravo lsvol\n" |
| 223 |
msgstr "$ docker volume create -d linbit/linstor-docker-volume --opt nodes=bravo lsvol\n" |
| 224 |
|
| 225 |
#. type: Title ==== |
| 226 |
#, no-wrap |
| 227 |
msgid "Example 3 - one diskful assignment, no matter where, two nodes diskless" |
| 228 |
msgstr "例3 - どこかに1つのディスクフル割り当て、2つのディスクレスノード" |
| 229 |
|
| 230 |
#. type: delimited block - |
| 231 |
#, no-wrap |
| 232 |
msgid "$ docker volume create -d linbit/linstor-docker-volume --opt replicas=1 lsvol\n" |
| 233 |
msgstr "$ docker volume create -d linbit/linstor-docker-volume --opt replicas=1 lsvol\n" |
| 234 |
|
| 235 |
#. type: Title ==== |
| 236 |
#, no-wrap |
| 237 |
msgid "Example 4 - two diskful assignments by name, charlie diskless" |
| 238 |
msgstr "例4 - ホスト指定で2つのディスクフル割り当て、charlie はディスクレス" |
| 239 |
|
| 240 |
#. type: delimited block - |
| 241 |
#, no-wrap |
| 242 |
msgid "$ docker volume create -d linbit/linstor-docker-volume --opt nodes=alpha,bravo lsvol\n" |
| 243 |
msgstr "$ docker volume create -d linbit/linstor-docker-volume --opt nodes=alpha,bravo lsvol\n" |
| 244 |
|
| 245 |
#. type: Title ==== |
| 246 |
#, no-wrap |
| 247 |
msgid "Example 5 - two diskful assignments, no matter where, one node diskless" |
| 248 |
msgstr "例5 - どこかに2つのディスクフル割り当て、1つのディスクレスノード" |
| 249 |
|
| 250 |
#. type: delimited block - |
| 251 |
#, no-wrap |
| 252 |
msgid "$ docker volume create -d linbit/linstor-docker-volume --opt replicas=2 lsvol\n" |
| 253 |
msgstr "$ docker volume create -d linbit/linstor-docker-volume --opt replicas=2 lsvol\n" |
| 254 |
|
| 255 |
#. type: Title ==== |
| 256 |
#, no-wrap |
| 257 |
msgid "Example 6 - using LINSTOR volumes with services from Docker swarm manager node" |
| 258 |
msgstr "例6 - Docker swarm manager ノードからのサービスで LINSTOR ボリュームを使用する" |
| 259 |
|
| 260 |
#. type: delimited block - |
| 261 |
#, no-wrap |
| 262 |
msgid "" |
| 263 |
"$ docker service create \\\n" |
| 264 |
" --mount type=volume,src=lsvol,dst=/data,volume-driver=linbit/linstor-docker-volume \\\n" |
| 265 |
" --name swarmsrvc busybox sh -c \"while true; do sleep 1000s; done\"\n" |
| 266 |
msgstr "" |
| 267 |
"$ docker service create \\\n" |
| 268 |
" --mount type=volume,src=lsvol,dst=/data,volume-driver=linbit/linstor-docker-volume \\\n" |
| 269 |
" --name swarmsrvc busybox sh -c \"while true; do sleep 1000s; done\"\n" |
| 270 |
|
| 271 |
#. type: Plain text |
| 272 |
msgid "" |
| 273 |
"Docker services do not accept the `-v` or `--volume` syntax, you must use " |
| 274 |
"the `--mount` syntax. Docker `run` will accept either syntax." |
| 275 |
msgstr "" |