SingularityのInstall (for Windows10)

# はじめに
Windows版はまだ無かったので、以前公式サイトのインストール手順を参考に実行したものを貼り付けておきます。
(なので少し古くVer2.4系です)

# 事前準備
公式サイトより下記のパッケージを準備する

　・[Git for Windows](https://git-for-windows.github.io/)
　・[VirtualBox for Windows](https://www.virtualbox.org/wiki/Downloads)
　・[Vagrant for Windows](https://www.vagrantup.com/downloads.html)
　・[Vagrant Manager for Windows](http://vagrantmanager.com/downloads/)

# 各種インストール
###1. GitのInstall
　![WS001.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/3cfdb977-e978-1f5b-ac78-8d9a0eb8d7ef.jpeg)
　![WS002.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/723199cc-6238-83b9-6b0f-557f9d22cefd.jpeg)
　![WS003.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/3d5d08ca-3278-b6fa-715d-541c6d8b5520.jpeg)
　![WS004.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/b70b017c-b026-f460-da81-a7f37bf404aa.jpeg)
　![WS005.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/48f6de71-1810-785e-3d3c-32a31bb5217a.jpeg)
　![WS006.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/7c4f97f0-0a00-941a-9d65-59766a15d588.jpeg)
　![WS007.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/e70978d7-bda3-ce59-4644-c48f72dbcabb.jpeg)
　![WS008.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/10ebce1b-c545-e871-642c-28b339a35ed9.jpeg)
　![WS009.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/2009a396-1f27-3660-18f6-b09ad82e4bcd.jpeg)
　![WS010.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/dc2b2551-c820-7f90-2f4c-c393895f8699.jpeg)
　![WS011.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/600c666c-e91a-363e-f950-4ea66b57d254.jpeg)

###2. VirtualBoxのInstall
　![WS012.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/4fe35b58-5d27-9add-f229-b1dcaaadb442.jpeg)
　![WS013.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/eecca1e9-0e62-68e3-936c-4e01c3075e28.jpeg)
　![WS014.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/fade454d-709a-4c42-27fe-1ebb047d1708.jpeg)
　![WS015.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/288e8047-d02a-d838-9ce7-4a664605c6f9.jpeg)
　![WS016.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/d1cbcff3-38b8-c5f6-cfc0-c24fafd07606.jpeg)
　![WS017-2.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/0eff5745-8eb6-0cea-2dd4-8ccef60dd320.jpeg)
　![WS018.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/ce8acf26-9348-4225-d6e1-d252ae3ab528.jpeg)

###3. VagrantのInstall
　![WS019.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/b14e0224-107c-16e3-4e7a-e019ad9bed21.jpeg)
　![WS020.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/d58b4363-4609-51a7-716d-fff4808d0795.jpeg)
　![WS021.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/881cf75a-bdef-d7e3-7da4-047abdf331e1.jpeg)
　![WS022.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/2ae46b6b-61df-1abe-513f-faf73e8d5be2.jpeg)
　![WS023.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/8057743c-b3e7-ca35-1e60-5bb275ef524a.jpeg)

###4. Vagrant ManagerのInstall
　![WS024.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/5031e2d4-6674-5a0e-0da9-52ba73fa5723.jpeg)
　![WS025.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/6a175c44-59ea-b189-5eec-f6d8d90b10ac.jpeg)
　![WS026.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/e52bab26-fbab-bd07-75e5-1f3a033632ca.jpeg)
　![WS027.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/055c32a9-af81-d62f-2f2f-9599c1896b73.jpeg)
　![WS028.JPG](https://qiita-image-store.s3.amazonaws.com/0/347507/7264230d-f558-f49b-4fdf-e246c1b8e13a.jpeg)

# Singlarityの準備、実行
Git Bashを起動する

```GitBash:GitBash
mkdir singularity-2.4
cd singularity-2.4
```
Vagrant経由で仮想設定・起動

```GitBash:GitBash
vagrant init singularity/singlarity-2.4
vagrant up
vagrant ssh
```
Singularityの準備・起動

```Gitbash:Gitbash
vagrant@vagrant:~$ which singularity
/usr/local/bin/singularity
vagrant@vagrant:~$ singularity --version
2.4-dist
```

Hello Worldの実行

```GitBash:GitBash
vagrant@vagrant:~$ sudo singularity build growl-llo-world.simg shub://vsoch/hello-world
Cache folder set to /root/.singularity/shub
Progress |===================================| 100.0% 
Building from local image: /root/.singularity/shub/vsoch-hello-world-master.simg
Building Singularity image...
Singularity container built: growl-llo-world.simg
Cleaning up...
vagrant@vagrant:~$ ./growl-llo-world.simg
RaawwWWWWWRRRR!!
```