-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
ERROR : Requesting capability set 0x000001ffffffffff while permitted capability set is 0x0000003fffffffff #18
Comments
You shouldn't need to dockerize singularity for GitHub actions - try just installing it to the runner. https://github.com/singularityhub/install-singularity |
Thank you! I will give it a try. |
It worked by the way. Thanks. |
I have the same issue. I need a docker image with singularity for gitlab CI tests on the docker runner executor |
Based on the error being about permissions, you'd need to run it in privileged mode I think? |
I did run it in privileged mode, but maybe its a problem with my docker daemon env (ubuntu on WSL2, during "hello world" prep before gitlab GI) |
Hi. Maybe my corresponding issue at singularity helps you: TLDR: Github runners do not have a recent enough daemon version. |
Thanks for the link, I had not found it. I am not using GitHub actions, but trying to do something similar on GitLab CI using the Docker executor for runners. Anyway my first tests before moving to gitlab CI (where I found the issue) were just locally on my laptop (in Ubunutu on WSL2). If I understand the title of that issue correctly, updating my Docker version >= 23 should help? Will post some simple steps to reproduce later when I am back at the laptop. EDIT: Upgrading from Docker 20 to Docker 24 fixed the issue for me on Ubuntu / WSL2. A collegue could not reproduce the issue with Docker 20, so it does seem to depend on the env in which the docker daemon is running. EDIT2: From this links above, it also looks like downgrading the singularity version might also help, but since I have a solution by upgrading docker, I won't need to try that route. |
Yes, correct, I would try that. |
For posterity, here's a oneliner to reproduce the error (on some systems) on docker versions < 23
|
Using your 3.11.0 image on a hosted GitHub Actions runner.
see https://github.com/OpenMS/OpenMS/actions/runs/4495601964/jobs/7909390460
The text was updated successfully, but these errors were encountered: