-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Podman Support #108
Comments
Actually you can ignore the docker check, if you manually configure podman to work with nektos/act.
Podman was raised on my side as well ChristopherHX/github-act-runner#178, and yes it makes sense to use podman desktop. Running act within SanjulaGanepola could automate these steps, but I decided to not do that in nektos/act for myself. |
Just for preservation, get the local unix socket of podman desktop / machine (macOS, possible linux too when you use podman machine optionally). podman windows uses a different path
Then
provides you the value of |
Hello @peter-crist. Thanks for opening this issue. I am indeed looking into better supporting podman and other options. @ChristopherHX I had a look into this and need some clarification on how exactly this works in In my testing, I had both docker and podman running (and
and I noticed these log messages:
It was unclear whether it was using docker or podman. So I had run
then this command would work when I had podman started and not work when I didn't have it started:
Is this indeed a bug in act? |
I forget to mention DOCKER_HOST should be the only thing with npipe or unix proto prefix |
What is actually the output of For me it was the unix socket of the vm, which is the correct value for You set DOCKER_HOST correctly 👍 |
I am working on a PR to add the ability to add components in the hopes of addressing this issue (as well as #107). Essentially, there will be two types of components with the below options. For each category, only one component is required so adding a new one will swap out the old one for the selected one.
@ChristopherHX I have a few questions to be able to implement this:
|
Misconfigured podman Desktop? The podman cli is working for me on windows and macOS and finds the podman machine automatically using this command. (While I had to start podman first using the GUI due to me removing it from autostart, then the error was gone) You can always fallback to guess it here is the value for me on both windows and macOS: So something like this on linux (opt into podman machine) and macOS.
in act, I remember of
Need to set both for podman, rancher desktop, rootless docker engine
Yes you could also set only
For podman I have written the commands I found last weekend. This was too complex for me to want to touch again in nektos/act, you always break workarounds if you change anything of dark magic. |
@ChristopherHX Can you explain why exactly both are needed? It seems there is some priority logic here when I take a look at the
I am debating whether automatically retrieving these values for each of these different options will be feasible. Does it make more sense to simply provide an easier way to configure this DOCKER_HOST just in the VS Code Settings? Not sure how exactly that will work in terms of the UI as the Components view currently always shows As for Issue nektos/act#2314, is this a valid issue? |
You can have
|
Github Local Actions Version
1.1.3
Act Version
...
Feature Description
Documentation mentions Docker is required. It would be nice if we could instead use Podman. I imagine this would be a common use case since a lot of folks try to avoid Docker's licensing and monetization.
The text was updated successfully, but these errors were encountered: