-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
202011 singularitycli #216
Conversation
add singularity-cli usage
add using user docker image section
ja modify and add english
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
日本語版への指摘事項は、英語版にも反映させてください。
ja/docs/09.md
Outdated
- pipにパスが通らない => pipへの環境変数PATHを設定 | ||
- WORKDIRにファイルがコピーされない => コピー先をWORKDIRの絶対パスに設定 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mkdocsで表示すると、リストになっていません。
ja/docs/09.md
Outdated
(work) [username@es1 ~]$ pip3 install spython | ||
``` | ||
|
||
以下の例では、NVIDIA社による[SSD300 v1.1モデル学習用コンテナイメージ](https://github.com/NVIDIA/DeepLearningExamples/tree/master/PyTorch/Detection/SSD)のDockerfileを編集し、Singularity Pythonを用いてSingularity recipeファイルに変換します。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
以下のコマンド例では、どのファイルが出力ファイルなのかわかりにくいです。見やすさのため、上記の文章の末の方を「Singularity recipeファイル(ssd.def)」としましょう。
en/docs/09.md
Outdated
### Build Singularity image from Dockerfile {#build-image-from-dockerfile} | ||
|
||
On ABCI, you cannot build a Singularity image directly from Dockerfile. | ||
If you have only Dockerfile, you have two way to build a Singularity image on ABCI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two ways
en/docs/09.md
Outdated
|
||
#### Via Docker Hub {#build-via-dockerhub} | ||
|
||
Build a Docker container image from Dockerfile on a system having Docker execution environment, and upload to Docker Hub. You can use the Docker container image on ABCI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「and upload to Docker Hub.」=>「and upload the image to Docker Hub.」
en/docs/09.md
Outdated
|
||
Build a Docker container image from Dockerfile on a system having Docker execution environment, and upload to Docker Hub. You can use the Docker container image on ABCI. | ||
|
||
Following example shows how to build [SSD300 v1.1 image](https://github.com/NVIDIA/DeepLearningExamples/tree/master/PyTorch/Detection/SSD) supported by NVIDIA from Dockerfile and to upload Docker Hub. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「supported」=>「developed」の方が良い。
「and to upload Docker Hub.」=>「and upload it to Docker Hub.」
en/docs/09.md
Outdated
|
||
!!!warning | ||
Conversion between Dockerfile and Singularity recipe Singularity Python is possible but not perfect. | ||
If `singularity build` fails in the converted Singularity recipe file, please modify the recipe file manually. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If singularity build
fails when the generated Singularity recipe file is used, modify the recipe file manually.
en/docs/09.md
Outdated
Conversion between Dockerfile and Singularity recipe Singularity Python is possible but not perfect. | ||
If `singularity build` fails in the converted Singularity recipe file, please modify the recipe file manually. | ||
|
||
Example of installation of Singularity Python) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Example procedure for installing Singularity Python)
en/docs/09.md
Outdated
(work) [username@es1 ~]$ pip3 install spython | ||
``` | ||
|
||
Following example shows how to modify Dockerfile of [SSD300 v1.1 image](https://github.com/NVIDIA/DeepLearningExamples/tree/master/PyTorch/Detection/SSD) supported by NVIDIA and convert it to Singularity recipe using Singularity Python. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「supported」=>「developed」
en/docs/09.md
Outdated
|
||
Following example shows how to modify Dockerfile of [SSD300 v1.1 image](https://github.com/NVIDIA/DeepLearningExamples/tree/master/PyTorch/Detection/SSD) supported by NVIDIA and convert it to Singularity recipe using Singularity Python. | ||
|
||
If you convert the original Dockerfile, the following two problems will occur at build time, so you need to modify the Dockerfile before conversion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
分割&微修正。
If you convert the original Dockerfile as is, the following two problems will occur at build time.
To avoid the problems, this example modifies the Dockerfile before conversion.
en/docs/09.md
Outdated
(work) [username@es1 SSD]$ spython recipe Dockerfile ssd.def | ||
``` | ||
|
||
How to create a Singularity image, please refer [Create a Singularity image (build)](#create-a-singularity-image-build). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
「How to create a Singularity image」=>「To create a Singularity image from the generated recipe file on ABCI」
「please refer」=>「please refer to」
確認しました。問題ないです。 |
DockerfileからのSingularity build時のDocker環境変数読み込みについて、ドキュメントを修正してください。 |
No description provided.