Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

GitHub action vs using podman locally

Aberta
#237 2 comentários 1 reação 1 responsável Ver no GitHub

@alexander-smolyakov já está trabalhando nisso.

Desde 28/4/2023.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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?

Linguagem predominante
TypeScript
Estrelas
496
Forks
102
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de devcontainers/ci

Todas as issues de devcontainers/ci

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.