mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #2016] --container-daemon-socket and DOCKER_HOST both required with Podman #968
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#968
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 @fenech on GitHub (Sep 21, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/2016
Bug report info
Command used with act
Describe issue
When using Podman with the
podman.socketservice running, it is necessary to specify both--container-daemon-socketandDOCKER_HOST. It seems like it should be sufficient to only setDOCKER_HOSTand for that socket to be used, without having to also pass--container-daemon-socket.Output with DOCKER_HOST unset:
N.B. There is no additional log output when using
-vin this case.Output with DOCKER_HOST set, no command line argument:
With both the environment variable and the command line argument, the command runs successfully.
Verbose output for this case is shown below.
Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
No response
@ChristopherHX commented on GitHub (Jan 30, 2024):
I'm responding here,
because a PR aims to close this Issue. However I don't think it does fix itDid you try?
I mean the help text of
act --helpsays uri not filepathAct (might) has no logic to convert the filepath to uri, so
DOCKER_HOSTis not derived if you provide a file path.@fenech commented on GitHub (Feb 1, 2024):
Sure enough, it works like:
as you say 👍
But it'd be nice if it was sufficient to use the
DOCKER_HOSTenvironment variable, which I already have set, rather than having to always pass this--container-daemon-socketoption.@ChristopherHX commented on GitHub (Feb 1, 2024):
I believe https://github.com/nektos/act/pull/2181 fixes your concern.
In the latest act release adding a single line to ~/.actrc
also make the cli option implicit. And get derived.
Still there is a PR, that makes creating a
.actrcfile irrelevant.