Skip to content
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

Provide updated Mac install instructions #5

Closed
dtrudg opened this issue May 19, 2021 · 3 comments
Closed

Provide updated Mac install instructions #5

dtrudg opened this issue May 19, 2021 · 3 comments
Assignees

Comments

@dtrudg
Copy link
Member

dtrudg commented May 19, 2021

Singularity Desktop for Mac is no longer updated. Provide instructions for vagrant on Mac.

@dtrudg dtrudg self-assigned this May 19, 2021
@dtrudg dtrudg added this to the SingularityCE 3.8.0 milestone May 19, 2021
@MaxCan-Code
Copy link
Contributor

How about instructions for Docker on Mac/Windows? I have a working compose.yaml using the latest image on quay.io

services:
  singularity:
    image: quay.io/singularity/singularity:v3.7.4-slim 
    stdin_open: true
    tty: true
    privileged: true
    volumes:
      - .:/root
    entrypoint: ["/bin/sh"]

, which is a slimmed down verson of https://github.com/horothesun/singularity-conda-multiple-envs#-local-singularity-image-build. I can add the instructions if you'd like

@dtrudg
Copy link
Member Author

dtrudg commented Jun 1, 2021

Singularity in Docker can have various disadvantages, such that not all features describe in the guides may work as expected. Basic container operations will work, but Singularity has a number of other lesser used features.

It's a nice idea to add the instructions, but we'd have to clearly describe the issues. Historically we have avoided inferring support for nesting Singularity in Docker, so it needs a bit of discussion around whether that's something we want to do.

@MaxCan-Code
Copy link
Contributor

I see, is this enough of a discussion?

--------------------------        
{Singularity} Docker Image
--------------------------

It is possible to use a Dockerized Singularity,
here is a sample ``compose.yaml`` (Singularity version 3.7.4) for use with Docker Compose:

.. code-block:: none

    services:
      singularity:
        image: quay.io/singularity/singularity:v3.7.4-slim 
        stdin_open: true
        tty: true
        privileged: true
        volumes:
          - .:/root
        entrypoint: ["/bin/sh"]

Singularity in Docker can have various disadvantages,
but basic container operations will work.
Currently, the intended use case is continuous integration,
meaning that you should be able to build a Singularity container using this Docker Compose file.
For more information see `issue#5 <https://github.com/sylabs/singularity-admindocs/issues/5#issuecomment-852307931>`_
and the image's source `repo <https://github.com/singularityhub/singularity-docker#use-cases>`_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants