-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
Contributing guidelines
- I've read the contributing guidelines and wholeheartedly agree
I've found a bug, and:
- The documentation does not mention anything about my problem
- There are no open or closed issues that are related to my problem
Description
Hi,
I'm trying to run this action in a runner that uses a distroless image without sudo available.
Expected behaviour
setup-docker-action installs Docker without needing sudo.
Actual behaviour
I'm trying to run this action using rootless:
with:
rootless: true
but I'm getting an error when it tries to start the Docker daemon.
Start Docker daemon
Error: Unable to locate executable file: sudo. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
Repository URL
No response
Workflow run URL
No response
YAML workflow
- name: Setup Docker
uses: docker/setup-docker-action@v4
with:
rootless: true
Workflow logs
No response
Docker daemon logs
Additional info
No response
SerhiiCherniavskyi, cexbrayat, v1993, bnussman and deepy