-
Notifications
You must be signed in to change notification settings - Fork 100
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
Cannot download docker image from Gitlab Container Registry #3520
Comments
You are using
But then pointing to an
The first would store the credentials in the default location, but the second is going to try and use credentials at the provided location. Can you resolve this inconsistency - maybe it's just a transcription mistake in the bug report? Also... if you use docker per the GitLab instructions, everything works okay? I.E.
Finally - in the unusual case that the
|
My apologies, I run the
I dont think special characters are causing an issue since it seems to be authenticating just fine:
I will try the STDIN method however. I have been able to use this method to authenticate with Singularity and docker in the past, I believe I'm using it for some automation right now but would need to look into that. I dont have the The only other thing I can think of is that this is this is running on |
Just tested docker, it is able to pull the image inside the same job just fine while singularity gets "DENIED: access forbidden" |
Okay - given we don't have access to free CI minutes from GitLab, and would have to setup a self-hosted runner to look into this further it isn't likely to be investigated immediately. You can try to |
The |
I was able to confirm with the Gitlab support team that it seems the request is making it to their side without the proper authentication information. Im not sure why there would be a difference between how it works on |
Before you report an issue...
Only issues that can be replicated on the latest release, or development branch, of SingularityCE will be investigated and fixed. The open source project does not maintain long-term stable branches or fix bugs in prior versions. If you require LTS support then please see the Sylabs website.
Version of Singularity
4.1.1 and 4.2.2
Describe the bug
After authenticating with gitlab using the following command:
Singularity cannot download the image, reporting the following error:
To Reproduce
Expected behavior
It would be able to pull docker images from Gitlab
OS / Linux Distribution
Its running in a virtualized AMR64 environment in Docker on a privileged Ubuntu 24.04 image, on a privileged LXC container running Ubuntu 24.04, on Proxmox 8.3.3 which is Debian
Installation Method
Originally I tried it from the Ubuntu 24.04 repository but it had 4.1.1. I compiled the lated 4.2.2 just to check but saw the same issue.
Additional context
I tried to make sure the image should be available from gitlab using their access settings. I am opening a ticket with them as well to see if it something on their end.
Thank you for your time.
The text was updated successfully, but these errors were encountered: