--
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+unsubscribe@lbl.gov.
Whoa... That is cool!!!!So if I'm understanding correctly, this is a docker container itself which will create another docker container and import to Singularity within that docker container?
Does the --privileged option allow you to run Singularity within a Docker environment?
Thanks!
On Fri, Aug 5, 2016 at 9:31 PM, Chris Gorgolewski <krzysztof.gorgolewski@gmail.com> wrote:
Dear Singularity Users,Same as many of you I have been very excited about bringing my own environment to HPC clusters available at my institution using Singularity Containers. So far I've been using Docker to create my containers (it works well on Mac and Windows, has caching of layers, public repository of images etc.). Like many other scientists I'm using Mac and Windows for my personal computers and I don't have easy access to root on a linux box (which is required to create or convert to a Singularity image).To be able to keep using Docker to develop images and make the conversion from docker to singularity as easy as possible I have created a special Docker image that taps into the host docker daemon and performs the conversion. All you need to do is:docker run \-v /var/run/docker.sock:/var/run/docker.sock-v D:\host\path\where\to\output\singularity\image:/output--privileged -t --rmfilo/docker2singularityubuntu:14.04Replace D:\host\path\where\to\output\singularity\image with a path in the host filesystem where your Singularity image will be created. Replace ubuntu:14.04 with the docker image name you wish to convert (it will be pulled from Docker Hub if it does not exist on your host system).You can read more and submit issues or patches at https://github.com/chrisfilo/docker2singularityI hope this helps!Best,Chris
--
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.
--Gregory M. Kurtzer
High Performance Computing Services (HPCS)
University of California
Lawrence Berkeley National Laboratory
One Cyclotron Road, Berkeley, CA 94720
That sounds very useful Chris, thanks!
Tristan
Dear Singularity Users,--
Same as many of you I have been very excited about bringing my own environment to HPC clusters available at my institution using Singularity Containers. So far I've been using Docker to create my containers (it works well on Mac and Windows, has caching of layers, public repository of images etc.). Like many other scientists I'm using Mac and Windows for my personal computers and I don't have easy access to root on a linux box (which is required to create or convert to a Singularity image).
To be able to keep using Docker to develop images and make the conversion from docker to singularity as easy as possible I have created a special Docker image that taps into the host docker daemon and performs the conversion. All you need to do is:
docker run \-v /var/run/docker.sock:/var/run/docker.sock-v D:\host\path\where\to\output\singularity\image:/output--privileged -t --rmfilo/docker2singularityubuntu:14.04
Replace D:\host\path\where\to\output\singularity\image with a path in the host filesystem where your Singularity image will be created. Replace ubuntu:14.04 with the docker image name you wish to convert (it will be pulled from Docker Hub if it does not exist on your host system).
You can read more and submit issues or patches at https://github.com/chrisfilo/docker2singularity
I hope this helps!
Best,Chris
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.
Tristan Glatard
CNRS Researcher, CREATIS, Lyon, France
Visiting Scholar at McGill University, Montreal Neurological
Institute (MNI), Montreal, Canada
Web Google Scholar Research Gate Publons ORCID LinkedIn Twitter Github
That sounds very useful Chris, thanks!
Tristan
On 08/06/2016 12:31 AM, Chris Gorgolewski wrote:
Dear Singularity Users,--
Same as many of you I have been very excited about bringing my own environment to HPC clusters available at my institution using Singularity Containers. So far I've been using Docker to create my containers (it works well on Mac and Windows, has caching of layers, public repository of images etc.). Like many other scientists I'm using Mac and Windows for my personal computers and I don't have easy access to root on a linux box (which is required to create or convert to a Singularity image).
To be able to keep using Docker to develop images and make the conversion from docker to singularity as easy as possible I have created a special Docker image that taps into the host docker daemon and performs the conversion. All you need to do is:
docker run \-v /var/run/docker.sock:/var/run/docker.sock-v D:\host\path\where\to\output\singularity\image:/output--privileged -t --rmfilo/docker2singularityubuntu:14.04
Replace D:\host\path\where\to\output\singularity\image with a path in the host filesystem where your Singularity image will be created. Replace ubuntu:14.04 with the docker image name you wish to convert (it will be pulled from Docker Hub if it does not exist on your host system).
You can read more and submit issues or patches at https://github.com/chrisfilo/docker2singularity
I hope this helps!
Best,Chris
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+unsubscribe@lbl.gov.
--
Tristan Glatard
CNRS Researcher, CREATIS, Lyon, France
Visiting Scholar at McGill University, Montreal Neurological Institute (MNI), Montreal, CanadaWeb Google Scholar Research Gate Publons ORCID LinkedIn Twitter Github
--
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+unsubscribe@lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
--
Tristan Glatard
CNRS Researcher, CREATIS, Lyon, France
Visiting Scholar at McGill University, Montreal Neurological Institute (MNI), Montreal, CanadaWeb Google Scholar Research Gate Publons ORCID LinkedIn Twitter Github
--
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.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity+unsubscribe@lbl.gov.
I've added a 1.10 version (filo/docker2singularity:1.10). Could someone test it?
>> email to singularity+unsubscribe@lbl.gov.
>
>
> --
> 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+unsubscribe@lbl.gov.
--
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+unsubscribe@lbl.gov.