microsoft / microsoft/vscode-remote-release

hostRequirements fails with podman (can't evaluate field Runtimes)

Open
#10,908 1 comment 2 reactions 1 assignee View on GitHub

@chrmarti is already working on this.

Since Apr 24, 2025.

bug containers podman
Dominant language
Dockerfile
Stars
4.2k
Forks
469
Avg merge
1d 1h
Merged PRs (30d)
1

Description

  • VSCode Version: 1.99.3 17baf841131aa23349f217ca7c570c76ee87b957
  • Local OS Version: Ubuntu 25.04
  • Remote OS Version: Ubuntu
  • Remote Extension/Connection Type: Dev Containers

Steps to Reproduce:

  1. set "dev.containers.dockerPath" to "podman"
  2. devcontainers.json contains "hostRequirements": {"gpu": "optional"}
  3. this leads to it executing podman info -f {{.Runtimes.nvidia}} failing with
    Error: template: info:1:11: executing "info" at <.Runtimes.nvidia>: can't evaluate field Runtimes in type system.infoReport

podman info -f '{{json .}}'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.