Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

GitHub action vs using podman locally

Aperta
#237 2 commenti 1 reazione 1 assegnatario Vedi su GitHub

@alexander-smolyakov ci sta già lavorando.

Dal 28/4/2023.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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?

Lingua principale
TypeScript
Stelle
496
Fork
102
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di devcontainers/ci

Tutte le issue di devcontainers/ci

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.