[GH-ISSUE #1921] Support for Lima #927

Open
opened 2026-03-01 21:47:28 +03:00 by kerem · 4 comments
Owner

Originally created by @XVilka on GitHub (Jul 20, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1921

Act version

Feature description

On the macOS world Lima is the leading FOSS solution for running Linux (and even BSD! containers).

Having support in act for it would simplify testing actions on the macOS hosts greatly.

Originally created by @XVilka on GitHub (Jul 20, 2023). Original GitHub issue: https://github.com/nektos/act/issues/1921 ### Act version * ### Feature description On the macOS world [Lima](https://github.com/lima-vm/lima) is the leading FOSS solution for running Linux (and even BSD! containers). Having support in `act` for it would simplify testing actions on the macOS hosts greatly.
Author
Owner

@dumganhar commented on GitHub (Aug 25, 2023):

I also look forward to this.

<!-- gh-comment-id:1693046515 --> @dumganhar commented on GitHub (Aug 25, 2023): I also look forward to this.
Author
Owner

@thederby commented on GitHub (Sep 24, 2023):

You can use act with colima if you set DOCKER_HOST to the correct location:

colima start
export DOCKER_HOST="unix://${HOME}/.colima/default/docker.sock"
act

You can alternatively symlink the colima docker.sock to the default docker location, but this may break other docker servers:

https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#cannot-connect-to-the-docker-daemon-at-unixvarrundockersock-is-the-docker-daemon-running

<!-- gh-comment-id:1732510266 --> @thederby commented on GitHub (Sep 24, 2023): You can use `act` with [`colima`](https://github.com/abiosoft/colima) if you set DOCKER_HOST to the correct location: `colima start` `export DOCKER_HOST="unix://${HOME}/.colima/default/docker.sock"` `act` You can alternatively symlink the `colima` docker.sock to the default `docker` location, but this may break other docker servers: https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#cannot-connect-to-the-docker-daemon-at-unixvarrundockersock-is-the-docker-daemon-running
Author
Owner

@chris3ware commented on GitHub (Sep 18, 2024):

I tried the above solution, but this prevented colima from working for some reason.

Using:

export DOCKER_HOST=$(docker context inspect --format '{{.Endpoints.docker.Host}}')

from the docker context - act - User Guide works though.

<!-- gh-comment-id:2357863099 --> @chris3ware commented on GitHub (Sep 18, 2024): I tried the above solution, but this prevented colima from working for some reason. Using: `export DOCKER_HOST=$(docker context inspect --format '{{.Endpoints.docker.Host}}')` from the [docker context - act - User Guide](https://nektosact.com/missing_functionality/docker_context.html) works though.
Author
Owner

@7e11 commented on GitHub (Aug 11, 2025):

Struggling to get the above solutions working with finch, which is based off of lima. Here's the error you'll run into when trying to run a job which uses ubuntu-latest.
Error: failed to copy content to container: Error response from daemon: stat /proc/<PID>/root/var/run/act: no such file or directory

<!-- gh-comment-id:3177214672 --> @7e11 commented on GitHub (Aug 11, 2025): Struggling to get the above solutions working with finch, which is based off of lima. Here's the error you'll run into when trying to run a job which uses `ubuntu-latest`. `Error: failed to copy content to container: Error response from daemon: stat /proc/<PID>/root/var/run/act: no such file or directory`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#927
No description provided.