singularity icon indicating copy to clipboard operation
singularity copied to clipboard

Add --remote (or similar) option/arg to commands like push

Open GodloveD opened this issue 5 years ago • 3 comments

Version of Singularity:

3.3.0-rc.1.436.gfdf86b487

Problem

Right now, the push command (and others) can only interact with the default library as determined by the remote.yaml configuration files. Consider a situation in which you want to automate the process of updating two different containers to two different remotes using two different batch scripts. You will need to be very careful in coordinating the timing of these updates so that they do not interfere with one another when setting different default remotes in the remote.yaml file. (Or you will need to use 2 different users or something.)

Solution

There should be a runtime option for specifying a different remote that overwrites the default in the remote.yaml. Something like this:

$ singularity push --remote SylabsCloud public.sif library://user/blah/public

$ singularity push --remote OnPrem proprietary.sif library://user/blah/proprietary

GodloveD avatar Jul 26 '19 21:07 GodloveD

Hello,

This is a templated response that is being sent out to all open issues. We are working hard on 'rebuilding' the Singularity community, and a major task on the agenda is finding out what issues are still outstanding.

Please consider the following:

  1. Is this issue a duplicate, or has it been fixed/implemented since being added?
  2. Is the issue still relevant to the current state of Singularity's functionality?
  3. Would you like to continue discussing this issue or feature request?

Thanks, Carter

carterpeel avatar May 15 '21 16:05 carterpeel

This issue has been automatically marked as stale because it has not had activity in over 60 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 14 '21 20:07 stale[bot]

@GodloveD Still getting this problem ? Have this been solved already ? If yes, what work around have you followed and applied ?

We're looking into the issue carefully, soon will bring to community and discuss ways to better solve as well address this. Thankyou for keeping the interest in the subject.

pedroalvesbatista avatar Jul 16 '21 01:07 pedroalvesbatista

Transferred this issue into the new Apptainer repo https://github.com/apptainer/apptainer/issues/1161

kmuriki avatar Mar 06 '23 04:03 kmuriki