Don't use docker shim if only using a mounted docker.sock instead of docker-in-docker #67
Loading…
Reference in a new issue
No description provided.
Delete branch "hoverbear/fh-161-after-running-in-act-hosts-nix-daemon-is-unusable"
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?
Description
I believe this fixes https://github.com/DeterminateSystems/nix-installer-action/issues/65.
Checklist
I think this looks sound overall, but I'm not extremely familiar with docker or cgroups and the like, so take this approval with a grain of salt...
@ -185,0 +240,4 @@
stdout: (data: Buffer) => {
stdout_buffer += data.toString("utf-8");
},
stderr: (data: Buffer) => {
Would it be worth it to check every cgroup line to see if there is
/docker/
in it, or if it's in an earlier cgroup, is that a weird configuration we wouldn't want to support anyways?Also no cgroup expert, but the code matches what was described, and the description I was given sounded convincing for detecting this scenario and avoiding it.
@ -185,0 +240,4 @@
stdout: (data: Buffer) => {
stdout_buffer += data.toString("utf-8");
},
stderr: (data: Buffer) => {
I don't have access to every system and setup, only a few, but I think in this case we're only looking for the
0::
prefixed line which is always last.