Skip to content
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

GitHub action vs using podman locally #237

Open
hoehrmann opened this issue Apr 2, 2023 · 2 comments
Open

GitHub action vs using podman locally #237

hoehrmann opened this issue Apr 2, 2023 · 2 comments
Assignees

Comments

@hoehrmann
Copy link

https://github.com/federlieb/federlieb/actions/runs/4590469738 - I am trying to use podman on my development machine and have to use docker via GitHub actions. https://code.visualstudio.com/remote/advancedcontainers/docker-options suggests to use "runArgs": [ "--userns=keep-id" ], but it seems docker does not support that, hence the failure of my action.

I have tried setting the podman option with the PODMAN_USERNS environment variable, which the command line option defaults to, according to their documentation, through devcontainer.json remoteEnv, but that does not have the same effect as the command line argument, at least not locally.

I naturally want my devcontainer as well as the CI action to work regardless of whether any given host uses docker or podman. What is the proper way to configure my project accordingly?

@samruddhikhandale
Copy link
Member

Hi 👋

@hoehrmann Wondering if you were able to figure this? Else, @alexander-smolyakov can you help with it? thanks!

@hoehrmann
Copy link
Author

@samruddhikhandale Unfortunately not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants