mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #5870] Add support for Docker Engine installed in WSL2 in GitHub Local Actions #1271
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#1271
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 @albal on GitHub (Jul 9, 2025).
Original GitHub issue: https://github.com/nektos/act/issues/5870
Act version
act version 0.2.79
Feature description
There is an option to point to the Docker Desktop in the GitHub Local Actions settings. On Linux I have installed Docker Engine (not Docker Desktop - this means I am using Docker in my machine under the Apache License).
I would like to use Docker Engine in WSL2 under Windows 11. There is a warning when installing Docker Engine from
https://get.docker.io/but it is fine to run Docker in WSL2 on Windows 11 in this manner. You can provide a path reference to the Docker binary from Windows to WSL2 using UNC path:It would be great to be able to support this option.
@albal commented on GitHub (Jul 9, 2025):
I have found if you install and run VS Code from the WSL2 environment then the Docker Engine is detected.
@ChristopherHX commented on GitHub (Jul 9, 2025):
act does not use the cli tool of docker.
Yes if you run act inside the wsl2 where the docker.sock unix socket can be found act knows how to use it.
@darrylsepeda commented on GitHub (Oct 2, 2025):
act uses docker engine, while my docker engine is in WSL.
I tried to point docker engine to the one inside wsl, yet it is not working:
how do you run VSCode from WSL?
I installed VSCode inside WSL, but received this error when I ran it:
I agree with this issue ticket for act/github local action to support docker engine in WSL
@panekj commented on GitHub (Oct 2, 2025):
https://nektosact.com/usage/custom_engine.html