mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #1731] Failed to run DDEV with ACT (root privilege issue) #849
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#849
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?
Originally created by @julienloizelet on GitHub (Apr 14, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1731
Bug report info
Command used with act
Describe issue
I have some GitHub actions that use DDEV.
I tried to make it work locally with ACT and it failed.
DDEV is mainly based on Docker, and it seems that something goes wrong with user or permission settings.
I created a simple workflow with 2 steps:
When I run
act -j act-tests(see the below example workflow), the first step ends with a success but the second failed with this error:ddev is not designed to be run with root privileges, please run as normal user and without sudo(This error is triggered by the final command of the workflow
ddev config global ...)I found this issue https://github.com/nektos/act/issues/1184, so I tried to use some other Ubuntu version by running :
act -j act-tests -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:runner-20.04.But then it seems that Docker is not able to run correctly as the first step failed with some error like :
Got permission denied while trying to connect to the Docker daemon socket at unixAnd the second step (
ddev config global ...) failed with error :Could not connect to a docker provider. Please start or install a docker provider.Any idea on how to debug this ?
Thanks
Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
No response
@github-actions[bot] commented on GitHub (Oct 12, 2023):
Issue is stale and will be closed in 14 days unless there is new activity
@adrianodias8 commented on GitHub (Sep 12, 2024):
not sure if you manged but for future reference or anyone that ends up here
check this out -> https://github.com/nektos/act/issues/1798#issuecomment-2030908166