Configuring Docker Shim aborts with Docker invocation on ARC #68
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I wanted to try out the installer action on our recently setup actions-runner-controller. Sadly it failed while setting up the docker shim.
docker-runner: 2.312.0
actions-runner-controller: 0.27.5
I could't trace the line in src/main.ts where docker is failing.
We now setup our arc (Kubernetes Runners) with a DIND setup. So the runner container has a docker binary and a docker socket available and one can start other containers with that docker daemon and socket. Sadly the socket's path is specified within an environment variable; that environment is lost when executing
sudo
(without -E). Root (with sudo) will not find the docker socket to start an nix daemon.Even if the nix daemon could be started within our ARC/DIND setup I would suspect that a nix deamon running in another pod/container will not have access to
/nix/store
in the original container/pod where the installer run.Yep, same ARC Kubernetes setup for us and same issue and logs/error code. Until this is solved we'll have to go back to Cachix's install action
@zickzackv Could you give it another try with a more recent commit or on plain old
main
? We've overhauled this Action pretty significantly in recent weeks.As an aside, we'd really like to support this better -- but we don't have anyone that we're regularly interacting with to do design & implementation reviews with. If someone is able to do that, I'd be glad to be in touch: gc@determinate.systems.