mirror of
https://github.com/nektos/act.git
synced 2026-04-26 17:35:49 +03:00
[GH-ISSUE #551] Issue: Running ACT on BigSur 11.2.2 fails due to Mounts denied on /github/workspace #374
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#374
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 @ian-lewis-d on GitHub (Mar 4, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/551
Act version
act version 0.2.20
Expected behaviour
Running $ act -j vetting should run the vetting section in .github/workflows/build.xml
Actual behaviour
The process runs stops with the following message:
This is on a Mac OS BigSur 11.2.2 with the default Sandboxing enabled.
I have attempted downgrading Docker Desktop (to 2.5.0.1 from 3.1 latest), Turning off gRPC Fuse and none of this gets me anywhere.
It seems, from what I can work out, that the BigSur MacOS has made root a Read Only file system so adding /github/workflow will fail. This leads to the mount failing as there is no mount point. This is my current theory but I have only limited experience with Docker, Github Actions and Mac computers.
Workflow and/or repository
workflow
Steps to reproduce
act -j vettingactoutputLog
@catthehacker commented on GitHub (Mar 4, 2021):
This looks like a duplicate of #410.
@ian-lewis-d commented on GitHub (Mar 4, 2021):
@catthehacker I tried that workaround and it did not work for me.
As far as I can tell the /github/workspace mkdir command is hardcoded which means it will always fail if docker cannot access the read-only root on BugSur.
@catthehacker commented on GitHub (Mar 4, 2021):
The problem is not with Mac, mounting directories to docker container running in docker container is currently not supported.
@ian-lewis-d commented on GitHub (Mar 5, 2021):
Thank you. I hadn't realised that was what was happening. Or not in this case.
Is that spelled out anywhere in the documentation?
@ian-lewis-d commented on GitHub (Mar 5, 2021):
I see there's a
privilegedmode which allows docker to run inside docker. Would it be possible to apply this to act when it runs?@catthehacker commented on GitHub (Mar 5, 2021):
You can but it will fail, because the docker command you are executing in workflow doesn't know that it's already in docker container.
It will try to map path from
actdocker container to your container but it should map path from host to your container.Sam already explained it perfectly
@catthehacker commented on GitHub (Apr 2, 2021):
This should be resolved already by #567