Help us understand the problem. What is going on with this article?

Singularity pull で、docker のイメージを変換する

概要

docker のイメージがあるものを、 Singularity に変換したい

結論

Singularity pull で、docker のイメージを変換する。

root権限はいらない

singularity  pull ファイル名 docker://使いたいdockerイメージ

ファイル名は、「新しく作るシンギュラリティイメージのファイル名」

参考

sailfishのdockerコンテナをsingularityイメージに変換する

$ sailfish
bash: sailfish: command not found
$ singularity  pull sailfish.0.10.1.sif docker://quay.io/biocontainers/sailfish:0.10.1--h6516f61_3
WARNING: Authentication token file not found : Only pulls of public images will succeed
INFO:    Starting build...
Getting image source signatures
Copying blob sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
 32 B / 32 B [==============================================================] 0s
Copying blob sha256:b0dc45cd432d14fb6df7d3239dc15d09c63906f8e7bfd373a4647b107fc3746c
 2.13 MiB / 2.13 MiB [======================================================] 1s
Copying blob sha256:9466b3513669459396338a74673ede0166f534ab64923f66ecca58176d1ffe5e
 247 B / 247 B [============================================================] 0s
Copying blob sha256:ddd482ea7b54727ff2b6748188290b75f6441ba4091d15a5e62d2a0ed47c81dd
 221 B / 221 B [============================================================] 0s
Copying blob sha256:4d69f833b9d8db2f02cc784f9bab7317317e4062129cafe65660c9eb2cd1c115
 2.49 KiB / 2.49 KiB [======================================================] 0s
Copying blob sha256:e7c454e5167ddab5101c53d104c90c0a037c3ee3930b9a74a14da40c852134cc
 34.41 KiB / 34.41 KiB [====================================================] 0s
Copying blob sha256:e38092b005c08dab4ae80615d29944107dc3d07307e37c4558914998e0e61827
 243.10 KiB / 243.10 KiB [==================================================] 0s
Skipping fetch of repeat blob sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
Skipping fetch of repeat blob sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
Copying blob sha256:f879b42dfe2b253544b0dc6834eff097a2a994cecda76b3c2950465fef9bfdfc
 879.28 KiB / 879.28 KiB [==================================================] 0s
Skipping fetch of repeat blob sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
Copying blob sha256:f27b1200e6ac02b64fb993ae17f708cc4b515e437343c38733f8174c28bbce07
 116.92 MiB / 116.92 MiB [==================================================] 8s
Copying config sha256:1de74eb292217936a929325a39b4774d8b6dab3267ed4afcfbb843e723f4d59f
 2.77 KiB / 2.77 KiB [======================================================] 0s
Writing manifest to image destination
Storing signatures
INFO:    Creating SIF file...
INFO:    Build complete: sailfish.0.10.1.sif
$ ls -l sailfish.0.10.1.sif
-rwxr-xr-x 1 manabu manabu 123822080 Sep 13 11:38 sailfish.0.10.1.sif
$ singularity exec sailfish.0.10.1.sif sailfish --version
version : 0.9.2
$ 
Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away