mirror of
https://github.com/nektos/act.git
synced 2026-04-26 17:35:49 +03:00
[GH-ISSUE #18] Support Docker with SSH authentication #12
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#12
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 @AlexGustafsson on GitHub (Jan 22, 2019).
Original GitHub issue: https://github.com/nektos/act/issues/18
I noticed remote Docker support was more or less fixed somewhere after #5, but it does not seem to work for hosts that I connect to over SSH. Since Docker 18.09 there's been support to use
docker -H ssh://me@server. Is there any way that could work with this project as well?Error I get for reference:
@cplee commented on GitHub (Jan 22, 2019):
@AlexGustafsson have you tried setting env variable like
DOCKER_HOST=ssh://me@server@SvenDowideit commented on GitHub (Jan 23, 2019):
I get a very similar result from setting DOCKER_HOST
@SvenDowideit commented on GitHub (Jan 23, 2019):
Actually, I think this is isn't going to work with the current way the code works.
From what I can see, your repository is bind-mounted into the container - which means that it only supports "local" Docker daemons (where Docker for windows and Docker for Mac are considered "local")
from a docker inspect on the remote Docker:
@SvenDowideit commented on GitHub (Jan 23, 2019):
playing with it in #19
@AlexGustafsson commented on GitHub (Jan 23, 2019):
I realise I was being a bit unclear, I do in fact use the environment variable and not the
-hflag as shown above.I’ll follow your progress over at #19.