Skip to content

Commit

Permalink
Merge branch 'main' of github.com:earthly/earthly into ido-aws-oidc
Browse files Browse the repository at this point in the history
  • Loading branch information
idodod committed May 9, 2024
2 parents 1397bc9 + 335389e commit 98d118e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildkitd/dockerd-wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ execute() {
mkdir /sys/fs/cgroup/dockerd-wrapper
echo $$ > /sys/fs/cgroup/dockerd-wrapper/cgroup.procs

# earthly wraps dockerd-wrapper.sh with a call via /bin/sh -c '....'
# so we also need to move the parent pid into this new group, which is weird
# TODO: we should unwrap this so $$ is all we need to move
# earthly wraps dockerd-wrapper.sh with a call via /bin/sh -c '....'
# so we also need to move the parent pid into this new group, which is weird
# TODO: we should unwrap this so $$ is all we need to move
echo 1 > /sys/fs/cgroup/dockerd-wrapper/cgroup.procs

if [ "$(wc -l < /sys/fs/cgroup/cgroup.procs)" != "0" ]; then
Expand Down

0 comments on commit 98d118e

Please sign in to comment.