You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Podman with the podman.socket service running, it is necessary to specify both--container-daemon-socketandDOCKER_HOST. It seems like it should be sufficient to only set DOCKER_HOST and for that socket to be used, without having to also pass --container-daemon-socket.
Output with DOCKER_HOST unset:
❯ gh act --container-daemon-socket $XDG_RUNTIME_DIR/podman/podman.sock pull_request -e pull_request.json
[Asana/set-state-waiting] 🚀 Start image=node:12.20.1-buster-slim
[Asana/set-state-waiting] 🐳 docker pull image=node:12.20.1-buster-slim platform= username= forcePull=true
Error: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=node&tag=12.20.1-buster-slim": dial unix /var/run/docker.sock: connect: permission denied
N.B. There is no additional log output when using -v in this case.
Output with DOCKER_HOST set, no command line argument:
But it'd be nice if it was sufficient to use the DOCKER_HOST environment variable, which I already have set, rather than having to always pass this --container-daemon-socket option.
But it'd be nice if it was sufficient to use the DOCKER_HOST environment variable, which I already have set, rather than having to always pass this --container-daemon-socket option.
In the latest act release adding a single line to ~/.actrc
--container-daemon-socket ${DOCKER_HOST}
also make the cli option implicit. And get derived.
Still there is a PR, that makes creating a .actrc file irrelevant.
Bug report info
Command used with act
Describe issue
When using Podman with the
podman.socket
service running, it is necessary to specify both--container-daemon-socket
andDOCKER_HOST
. It seems like it should be sufficient to only setDOCKER_HOST
and 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
-v
in 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
The text was updated successfully, but these errors were encountered: