vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Bootstrap container not compatible with podman (desktop).

Open Clockwork-Muse opened this issue 1 year ago • 0 comments

Version: 1.94.2 (user setup) Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427 Date: 2024-10-09T16:08:44.566Z Electron: 30.5.1 ElectronBuildId: 10262041 Chromium: 124.0.6367.243 Node.js: 20.16.0 V8: 12.4.254.20-electron.0 OS: Windows_NT x64 10.0.22631 Remote Extension/Connection Type: WSL

I'm attempting to set up podman desktop, but unfortunately the boostrapping container used when cloning into a volume uses docker, not podman. The problem with this is that multiple of the options that podman supports are errors for the docker cli. In particular the option --userns keep-id causes an error for the docker cli contained in the bootstrap container (and the recovery container).

Note that this option is generally required for id-mapping to work correctly on rootless-mode podman when host-mounting resources.

Steps to Reproduce:

  1. Install podman-desktop (perhaps via winget on Windows: winget install --id RedHat.Podman-Desktop), ensure that you install/run in rootless mode.
  2. Configure dev.containers.dockerComposePath to podman compose and dev.containers.dockerPath to podman
  3. Clone in a devcontainer (creating a new devcontainer appears to be broken). A working example for this is the repository https://github.com/ephemeris-rust/ephemeris

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

Clockwork-Muse avatar Oct 14 '24 04:10 Clockwork-Muse