sylabs / singularity

SingularityCE is the Community Edition of Singularity, an open source container platform designed to be simple, fast, and secure.
https://sylabs.io/docs/
Other
763 stars 98 forks source link

Unable to push image to singularity library. Gives malformed image path error. #2655

Open sanjeethboddi opened 8 months ago

sanjeethboddi commented 8 months ago

Version of Singularity What version of Singularity are you using? Run: singularity version 3.6.3

Describe the bug Unable to push the unsigned singularity image to library using this command

$ singularity push -U  singul.sif library://sanjeethboddi/Notebooks/basil:1.0.0
WARNING: Skipping container verifying
FATAL:   Unable to push image to library: malformed image path: sanjeethboddi/Notebooks/basil

To Reproduce Steps to reproduce the behavior: Push an unsigned image to library.

Expected behavior A clear and concise description of what you expected to happen. It should get pushed into the library.

OS / Linux Distribution Which Linux distribution are you using?

$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Installation Method Write here how you installed SingularityCE. Eg. RPM, source. I am using a docker image which has singularity installed.

Additional context Anything else which might be relevant. E.g. if the bug only occurs on a specific filesystem, or kernel version etc.

EmmEff commented 8 months ago

Hello @sanjeethboddi , the issue here is that the URI for the image ("library://sanjeethboddi/Notebooks/basil:1.0.0", in your example) must not contain mixed case letters. It must be entirely lowercase. This issue has been noted and will be resolved in future versions. Thank you for your feedback.