Pulling multiple images from Docker repository

1,575 views
Skip to first unread message

Chris D

unread,
Jul 27, 2017, 3:53:38 AM7/27/17
to singularity
Hey,

Is is possible to pull multiple images from a Docker repository using Singularity? I have not been able to find any documentation on this.

For example, something similar to docker pull --all-tags user/repository

Best,
Chris

vanessa s

unread,
Jul 27, 2017, 11:44:14 AM7/27/17
to singu...@lbl.gov
hey chris,

To do multiple pulls you would have to call pull multiple times, and know the tags of course. 

Just curious, what is your use case for wanting to pull all tags? Some images have a LOT so that would be a dangerous thing to let loose at once.

Best,

Vanessa
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.

Chris D

unread,
Jul 27, 2017, 12:46:21 PM7/27/17
to singularity
Darn. I wanted to avoid that.

As for the reason -- I have a pipeline that is made up of different modules. Each module is isolated inside its own container. Each image is actually quite small (~500 MB to 1GB). I did this because it was easier to maintain images for each module individually, then to put everything inside a single one.

Best,
Chris

vanessa s

unread,
Jul 27, 2017, 1:05:26 PM7/27/17
to singu...@lbl.gov
I would say, for the purpose of reproducibility, you would want to (at least somewhere) know the exact images that you are wanting to pull. Imagine down the road the your pipeline changes (new tags are added, some go away) and the user just has a command to pull all tags. Then runs it. Then it explodes because some needed tag is missing, and you have extra because some new ones were added.

To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.



--
Vanessa Villamia Sochat
Stanford University '16

Chris D

unread,
Jul 27, 2017, 2:03:56 PM7/27/17
to singularity
It's a good point. It looks like I may need to rethink my current approach. Thanks!

Best,
Chris
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
Reply all
Reply to author
Forward
0 new messages