[GH-ISSUE #1125] Enhancement: Running act on HPC/without admin rights #637

Closed
opened 2026-03-01 21:45:08 +03:00 by kerem · 5 comments
Owner

Originally created by @ma7dev on GitHub (Apr 14, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1125

Describe feature

I am developing on an HPC server where I don't have admin rights to install go and docker. Although I might be able to ask the sysadmin to install go, we can't install docker on the HPC server due to security reasons. However, the HPC server has a replacement for docker, which is singularity.

I was wondering whether is enable act to work with singularity as it will enable researchers and engineers who are developing on HPC servers to run GitHub Actions on the HPC server.

If there is a replacement to act that does this, please let me know as I have been doing a lot of research and couldn't find something as powerful as act or even something that does the running of GitHub Actions on HPC servers.

Originally created by @ma7dev on GitHub (Apr 14, 2022). Original GitHub issue: https://github.com/nektos/act/issues/1125 ## Describe feature I am developing on an `HPC` server where I don't have admin rights to install `go` and `docker`. Although I might be able to ask the sysadmin to install `go`, we can't install `docker` on the `HPC` server due to security reasons. However, the `HPC` server has a replacement for `docker`, which is [`singularity`](https://apptainer.org/). I was wondering whether is enable `act` to work with `singularity` as it will enable researchers and engineers who are developing on `HPC` servers to run `GitHub Actions` on the `HPC` server. If there is a replacement to `act` that does this, please let me know as I have been doing a lot of research and couldn't find something as powerful as `act` or even something that does the running of `GitHub Actions` on `HPC` servers.
kerem 2026-03-01 21:45:08 +03:00
Author
Owner

@catthehacker commented on GitHub (Apr 14, 2022):

you can specify socket with DOCKER_HOST environment variable and point it to singularity socket

<!-- gh-comment-id:1098892396 --> @catthehacker commented on GitHub (Apr 14, 2022): you can specify socket with `DOCKER_HOST` environment variable and point it to singularity socket
Author
Owner

@KevinSayers commented on GitHub (Apr 15, 2022):

I just was pointed to Act and I am interested in the exact same application (so great timing!) of testing on an HPC system. Perhaps I am missing something but does the Singularity socket solution mentioned by @catthehacker require Singularity-CRI to be installed first?

<!-- gh-comment-id:1100272877 --> @KevinSayers commented on GitHub (Apr 15, 2022): I just was pointed to Act and I am interested in the exact same application (so great timing!) of testing on an HPC system. Perhaps I am missing something but does the Singularity socket solution mentioned by @catthehacker require Singularity-CRI to be installed first?
Author
Owner

@Linux-cpp-lisp commented on GitHub (Sep 20, 2022):

Can someone elaborate on how one would set up DOCKER_HOST with singularity? I am also on an academic cluster that will not support docker for security reasons but has singularity (https://docs.rc.fas.harvard.edu/kb/singularity-on-the-cluster/) and would like to be able to run CI workflows on that hardware.

<!-- gh-comment-id:1251762721 --> @Linux-cpp-lisp commented on GitHub (Sep 20, 2022): Can someone elaborate on how one would set up `DOCKER_HOST` with `singularity`? I am also on an academic cluster that will not support docker for security reasons but has singularity (https://docs.rc.fas.harvard.edu/kb/singularity-on-the-cluster/) and would like to be able to run CI workflows on that hardware.
Author
Owner

@magland commented on GitHub (Nov 11, 2022):

I would also love to use act with singularity, but I don't understand the solution from @catthehacker . Could someone elaborate a bit on how this would be done?

<!-- gh-comment-id:1311952521 --> @magland commented on GitHub (Nov 11, 2022): I would also love to use act with singularity, but I don't understand the solution from @catthehacker . Could someone elaborate a bit on how this would be done?
Author
Owner

@ChristopherHX commented on GitHub (Nov 11, 2022):

I have absolutly no idea if "singularity socket" even exists, at least I cannot find any references for a docker compatible singularity daemon.
As long you don't need containers, you can test this change https://github.com/nektos/act/pull/1293. It allows you to manually start a container and execute act inside of it, without act trying to create child containers ( requires a cli flag mentioned in the PR ).

<!-- gh-comment-id:1312044123 --> @ChristopherHX commented on GitHub (Nov 11, 2022): I have absolutly no idea if "singularity socket" even exists, at least I cannot find any references for a docker compatible singularity daemon. As long you don't need containers, you can test this change https://github.com/nektos/act/pull/1293. It allows you to manually start a container and execute act inside of it, without act trying to create child containers ( requires a cli flag mentioned in the PR ).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#637
No description provided.