mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #583] Issue: Got error when use act at locally with remote docker contexts #388
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#388
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 @Aisuko on GitHub (Mar 25, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/583
Act version
Expected behaviour
actcan work well with remote docker context, and I can pull the target image by manually.Actual behaviour
actcan not pull the imageWorkflow and/or repository
workflow
Steps to reproduce
actoutputLog
@github-actions[bot] commented on GitHub (May 3, 2021):
Issue is stale and will be closed in 14 days unless there is new activity
@Aisuko commented on GitHub (May 3, 2021):
@catthehacker I can help test or contribution, please do some feedback
@ChristopherHX commented on GitHub (May 3, 2021):
I think act doesn't read docker context configurations, no idea how to do that.
I would try to set the environment variable
DOCKER_HOST=ssh://aisuko@192.168.1.104, then act should be able to connect.In the log it tried to connect to localhost, because
DOCKER_HOSTwas set to it's default (or unset)unix:///var/run/docker.sock@Aisuko commented on GitHub (May 5, 2021):
Thanks, I will take it a try.
@catthehacker commented on GitHub (May 5, 2021):
Docker contexts are not supported and it's quite easy to overcome that (example above). Anyone can feel free to make PR with such feature but it won't be actively pursued.
@davetapley commented on GitHub (Jun 1, 2021):
Here are one liners to set
DOCKER_HOSTautomatically from currentcontext:bash:pwsh:@Aisuko commented on GitHub (Jun 2, 2021):
I believe we can add these to the
README.mdas tips, simpler for using is enough.@Aisuko commented on GitHub (Jun 15, 2021):
In fact, I'd like to add these to the
.envfile.@github-actions[bot] commented on GitHub (Jul 16, 2021):
Issue is stale and will be closed in 14 days unless there is new activity
@Aisuko commented on GitHub (Jul 16, 2021):
We can close this issue due to #749
@luckydonald commented on GitHub (Jan 29, 2024):
Is this meant to be a workaround forever?
@buahaha commented on GitHub (Aug 17, 2024):
Using
podmaninstalled with Homebrew on macOS you can simply follow the instructions during:Now you can use it like it's
Dockerwithact🚀