Skip to content

Commit

Permalink
fix(action): Start rootful Docker daemon
Browse files Browse the repository at this point in the history
The GitHub Actions runner hard-codes the Docker socket to
unix:///var/run/docker.sock, so all Docker actions that run after this
one fail attempting to connect to the stopped rootful Docker daemon.
Start the rootful Docker daemon back up to work around this issue.
  • Loading branch information
Kurt-von-Laven committed Jul 14, 2022
1 parent baf949c commit 7c63e1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ runs:
(PATH="/sbin:/usr/sbin:$PATH" dockerd-rootless.sh &) |&
awaitDockerd
fi
sudo systemctl start docker.service docker.socket
env:
FORCE_ROOTLESS_INSTALL: "1"
shell: bash

0 comments on commit 7c63e1f

Please sign in to comment.