Skip to content

Dotfiles broken with podman #11502

@phil-opp

Description

@phil-opp
  • VSCode Version:
    1.109.5
    072586267e68ece9a47aa43f8c108e0dcbf44622
    x64
  • Local OS Version: PopOS 22.04
  • Remote OS Version: Dev container
  • Remote Extension/Connection Type: Dev Containers
  • Logs: see below

Steps to Reproduce:

  1. Use podman instead of docker and set "dev.containers.dockerPath": "podman", in config
  2. Set a dotfiles.repository
  3. Start a dev container

The dev container logs show the following error for me:

[5085 ms] Start: Run in container: # Clone & install dotfiles
[5086 ms] /bin/sh: 13: 93db8a79-c20e-4005-8c5b-e4c76f8a46260: not found
[5086 ms] /bin/sh: 13: <user>@c00a1fdbd57c:: not found

Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?: No

(Maybe it's related to #5447?)

Workaround

Adding the following to my .devcontainers.json fixed the issue for me:

    "userEnvProbe": "loginShell",

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugcontainersIssue in vscode-remote containerspodmanDev Container using Podman

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions