podman icon indicating copy to clipboard operation
podman copied to clipboard

`podman run` cannot mount folder on virtual drive

Open PepijnB opened this issue 9 months ago • 2 comments

Issue Description

Problem description I'm using VSCode in combination with the devcontainers-plugin. The plugin starts a container using podman. The folder from which it starts the container is on a virtual drive. The virtual drive is a folder mounted as drive. My machine is running Windows 11. Here the virtual drive is mounted with the subst command.

My c:\users\me\projects folder is mounted as d:\ drive. My project is stored in the folder d:\myproject (and thus also accessible through c:\users\me\projects\myproject). When I open the folder on the D-drive in VSCode and start the container I get an error message. When I open the folder from the C-drive in VSCode and start the container from there, there is no problem.

Windows version Windows 11, 23H2

Podman version: Client: Podman Engine Version: 5.4.0 API Version: 5.4.0 Go Version: go1.23.6 Git Commit: f9f7d48b24b1ca4403f189caaeab1cb8ff4a9aa2 Built: Tue Feb 11 19:06:36 2025 OS/Arch: windows/amd64

Steps to reproduce the issue

Steps to reproduce the issue

  1. Mount folder as virtual drive (using the subst command) --> assuming the folder is mounted as drive D
  2. Create myproject-folder in `D:\myproject\
  3. Create .devcontainer folder in `D:\myproject.devcontainer.
  4. Put the attached devcontainer.json file inside the .devcontainer folder.
  5. Have VSCode installed
  6. install the devcontainers plugin
  7. configure devcontainers plugin to use podman: CTRL+, --> Extensions --> Dev Containers -> Dev > containers: Docker path. Change docker here by podman.
  8. in VSCode do CTRL+ALT+o followed by "Open Folder in Container ..." and select either:
    a) the folder on the virtual drive D:\myproject\
    b) the folder on the actual drive

attached file: devcontainer.json

Describe the results you received

When I start the container from d:\myproject, I get the following output:

[94 ms] Dev Containers 0.401.0 in VS Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba).
[92 ms] Start: Resolving Remote
[153 ms] Setting up container for folder or workspace: d:\myproject\sandbox_devcontainer_podman
[158 ms] Start: Run: wsl -l -v
[364 ms] Start: Run: wsl -d docker-desktop-data -e /bin/sh -c echo ~
[768 ms] Could not connect to WSL.
[768 ms] Command failed: wsl -d docker-desktop-data -e /bin/sh -c echo ~
[769 ms] 
[769 ms] <3>WSL (21 - Relay) ERROR: CreateProcessParseCommon:863: Failed to translate C:\Program Files\Microsoft VS Code
<3>WSL (21 - Relay) ERROR: CreateProcessParseCommon:909: getpwuid(0) failed 2
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files (x86)\Common Files\Oracle\Java\javapath
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\WINDOWS\system32
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\WINDOWS
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\WINDOWS\System32\Wbem
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\WINDOWS\System32\WindowsPowerShell\v1.0\
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\WINDOWS\System32\OpenSSH\
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\dotnet\
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\TortoiseGit\bin
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\PuTTY\
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\Microsoft VS Code\bin
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\MATLAB\R2022a\runtime\win64
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\MATLAB\R2022a\bin
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\MiKTeX\miktex\bin\x64\
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Strawberry_perl\c\bin
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Strawberry_perl\perl\site\bin
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Strawberry_perl\perl\bin
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\Docker\Docker\resources\bin
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\TortoiseSVN\bin
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\Git\cmd
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\GitHub CLI\
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\gs\gs10.00.0\bin
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\RedHat\Podman\
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate c:\users\me\AppData\Local\Programs\Python\Python311\Scripts\
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate c:\users\me\AppData\Local\Programs\Python\Python311\
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate c:\users\me\AppData\Local\Microsoft\WindowsApps
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate c:\users\me\AppData\Local\JetBrains\Toolbox\scripts
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\MATLAB\R2022a\bin
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate c:\users\me\AppData\Local\GitHubDesktop\bin
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate c:\users\me\AppData\Local\Pandoc\
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\ProgramData\chocoportable\bin
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate c:\users\me\AppData\Local\Microsoft\WindowsApps
<3>WSL (21 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\RedHat\Podman
<3>WSL (21 - Relay) ERROR: operator():420: getpwuid(0) failed 2
<3>WSL (21 - Relay) ERROR: CreateProcessCommon:640: execvpe(/bin/sh) failed: No such file or directory
[774 ms] Start: Check Docker is running
[774 ms] Start: Run: podman version
[1525 ms] Client:       Podman Engine
Version:      5.4.0
API Version:  5.4.0
Go Version:   go1.23.6
Git Commit:   f9f7d48b24b1ca4403f189caaeab1cb8ff4a9aa2
Built:        Tue Feb 11 19:06:36 2025
OS/Arch:      windows/amd64

Server:       
[1526 ms] Podman Engine
Version:      5.4.0
API Version:  5.4.0
Go Version:   go1.23.5
Built:        Tue Feb 11 01:00:00 2025
OS/Arch:      linux/amd64
[1539 ms] Start: Run: podman volume ls -q
[1940 ms] Start: Run: podman ps -q -a --filter label=vsch.local.folder=d:\myproject\sandbox_devcontainer_podman --filter label=vsch.quality=stable
[2307 ms] Start: Run: podman ps -q -a --filter label=devcontainer.local_folder=d:\myproject\sandbox_devcontainer_podman --filter label=devcontainer.config_file=d:\myproject\sandbox_devcontainer_podman\.devcontainer\devcontainer.json
[2597 ms] Start: Run: podman ps -q -a --filter label=devcontainer.local_folder=d:\myproject\sandbox_devcontainer_podman
[2893 ms] Start: Run: podman ps -q -a --filter label=devcontainer.local_folder=d:\myproject\sandbox_devcontainer_podman
[3174 ms] Running Dev Containers CLI:   up --user-data-folder c:\users\me\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data --docker-path podman --container-session-data-folder /tmp/devcontainers-52d16164-fa29-41eb-9ab7-52bf11cf2cc01742813830662 --workspace-folder d:\myproject\sandbox_devcontainer_podman --workspace-mount-consistency cached --gpu-availability detect --id-label devcontainer.local_folder=d:\myproject\sandbox_devcontainer_podman --id-label devcontainer.config_file=d:\myproject\sandbox_devcontainer_podman\.devcontainer\devcontainer.json --log-level debug --log-format json --config d:\myproject\sandbox_devcontainer_podman\.devcontainer\devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root --include-configuration --include-merged-configuration
[3182 ms] ProxyResolver#loadSystemCertificates count
[3185 ms] ProxyResolver#loadSystemCertificates count filtered
[3186 ms] Start: Run: C:\Program Files\Microsoft VS Code\Code.exe c:\users\me\.vscode\extensions\ms-vscode-remote.remote-containers-0.401.0\dist\spec-node\devContainersSpecCLI.js up --user-data-folder c:\users\me\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data --docker-path podman --container-session-data-folder /tmp/devcontainers-52d16164-fa29-41eb-9ab7-52bf11cf2cc01742813830662 --workspace-folder d:\myproject\sandbox_devcontainer_podman --workspace-mount-consistency cached --gpu-availability detect --id-label devcontainer.local_folder=d:\myproject\sandbox_devcontainer_podman --id-label devcontainer.config_file=d:\myproject\sandbox_devcontainer_podman\.devcontainer\devcontainer.json --log-level debug --log-format json --config d:\myproject\sandbox_devcontainer_podman\.devcontainer\devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root --include-configuration --include-merged-configuration
[3429 ms] @devcontainers/cli 0.74.0. Node.js v20.18.1. win32 10.0.22631 x64.
[3429 ms] Start: Run: podman buildx version
[3731 ms] buildah 1.39.0
[3731 ms] 
[3732 ms] Start: Run: podman -v
[3884 ms] Start: Resolving Remote
[3886 ms] Start: Run: git rev-parse --show-cdup
[3986 ms] Start: Run: podman ps -q -a --filter label=devcontainer.local_folder=d:\myproject\sandbox_devcontainer_podman --filter label=devcontainer.config_file=d:\myproject\sandbox_devcontainer_podman\.devcontainer\devcontainer.json
[4272 ms] Start: Run: podman inspect --type image mcr.microsoft.com/devcontainers/python:1-3.12-bullseye
[4573 ms] Start: Run: podman events --format json --filter event=start
[4596 ms] Start: Starting container
[4597 ms] Start: Run: podman run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=d:\myproject\sandbox_devcontainer_podman,target=/workspaces/sandbox_devcontainer_podman,consistency=cached --mount type=volume,src=vscode,dst=/vscode -l devcontainer.local_folder=d:\myproject\sandbox_devcontainer_podman -l devcontainer.config_file=d:\myproject\sandbox_devcontainer_podman\.devcontainer\devcontainer.json --entrypoint /bin/sh -l devcontainer.metadata=[{"id":"ghcr.io/devcontainers/features/common-utils:2"},{"id":"ghcr.io/devcontainers/features/git:1"},{"id":"ghcr.io/devcontainers/features/node:1","customizations":{"vscode":{"extensions":["dbaeumer.vscode-eslint"]}}},{"id":"ghcr.io/devcontainers/features/python:1","customizations":{"vscode":{"extensions":["ms-python.python","ms-python.vscode-pylance","ms-python.autopep8"],"settings":{"python.defaultInterpreterPath":"/usr/local/python/current/bin/python","[python]":{"editor.defaultFormatter":"ms-python.autopep8"}}}}},{"customizations":{"vscode":{"settings":{"python.defaultInterpreterPath":"/usr/local/bin/python"}}},"remoteUser":"vscode"}] mcr.microsoft.com/devcontainers/python:1-3.12-bullseye -c echo Container started
Error: statfs /mnt/d/myproject/sandbox_devcontainer_podman: no such file o
r directory
...
...

Describe the results you expected

When I start the container from c:\users\me\projects\myproject, I get the following results:

[73 ms] Dev Containers 0.401.0 in VS Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba).
[73 ms] Start: Resolving Remote
[109 ms] Setting up container for folder or workspace: c:\Users\boerp\D-schijf\Projects\uniphy\sandbox_devcontainer_podman
[129 ms] Start: Run: wsl -l -v
[238 ms] Start: Run: wsl -d docker-desktop-data -e /bin/sh -c echo ~
[434 ms] Could not connect to WSL.
[434 ms] Command failed: wsl -d docker-desktop-data -e /bin/sh -c echo ~
[434 ms] 
[434 ms] <3>WSL (45 - Relay) ERROR: CreateProcessParseCommon:863: Failed to translate C:\Program Files\Microsoft VS Code
<3>WSL (45 - Relay) ERROR: CreateProcessParseCommon:909: getpwuid(0) failed 2
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files (x86)\Common Files\Oracle\Java\javapath
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\WINDOWS\system32
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\WINDOWS
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\WINDOWS\System32\Wbem
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\WINDOWS\System32\WindowsPowerShell\v1.0\
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\WINDOWS\System32\OpenSSH\
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\dotnet\
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\TortoiseGit\bin
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\PuTTY\
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\Microsoft VS Code\bin
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\MATLAB\R2022a\runtime\win64
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\MATLAB\R2022a\bin
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\MiKTeX\miktex\bin\x64\
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Strawberry_perl\c\bin
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Strawberry_perl\perl\site\bin
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Strawberry_perl\perl\bin
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\Docker\Docker\resources\bin
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\TortoiseSVN\bin
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\Git\cmd
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\GitHub CLI\
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\gs\gs10.00.0\bin
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\RedHat\Podman\
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Users\boerp\AppData\Local\Programs\Python\Python311\Scripts\
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Users\boerp\AppData\Local\Programs\Python\Python311\
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Users\boerp\AppData\Local\Microsoft\WindowsApps
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Users\boerp\AppData\Local\JetBrains\Toolbox\scripts
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\MATLAB\R2022a\bin
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Users\boerp\AppData\Local\GitHubDesktop\bin
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Users\boerp\AppData\Local\Pandoc\
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\ProgramData\chocoportable\bin
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Users\boerp\AppData\Local\Microsoft\WindowsApps
<3>WSL (45 - Relay) ERROR: UtilTranslatePathList:2878: Failed to translate C:\Program Files\RedHat\Podman
<3>WSL (45 - Relay) ERROR: operator():420: getpwuid(0) failed 2
<3>WSL (45 - Relay) ERROR: CreateProcessCommon:640: execvpe(/bin/sh) failed: No such file or directory
[436 ms] Start: Check Docker is running
[436 ms] Start: Run: podman version
[790 ms] Client:       Podman Engine
Version:      5.4.0
API Version:  5.4.0
Go Version:   go1.23.6
Git Commit:   f9f7d48b24b1ca4403f189caaeab1cb8ff4a9aa2
Built:        Tue Feb 11 19:06:36 2025
OS/Arch:      windows/amd64

Server:       Podman Engine
Version:      5.4.0
API Version:  5.4.0
Go Version:   go1.23.5
Built:        Tue Feb 11 01:00:00 2025
OS/Arch:      linux/amd64
[790 ms] 
[799 ms] Start: Run: podman volume ls -q
[1117 ms] Start: Run: podman ps -q -a --filter label=vsch.local.folder=c:\Users\me\Projects\MyProject\sandbox_devcontainer_podman --filter label=vsch.quality=stable
[1433 ms] Start: Run: podman ps -q -a --filter label=devcontainer.local_folder=c:\Users\me\Projects\MyProject\sandbox_devcontainer_podman --filter label=devcontainer.config_file=c:\Users\me\Projects\MyProject\sandbox_devcontainer_podman\.devcontainer\devcontainer.json
[1740 ms] Start: Run: podman ps -q -a --filter label=devcontainer.local_folder=c:\Users\me\Projects\MyProject\sandbox_devcontainer_podman
[2051 ms] Start: Run: podman ps -q -a --filter label=devcontainer.local_folder=c:\Users\me\Projects\MyProject\sandbox_devcontainer_podman
[2388 ms] Running Dev Containers CLI:   up --user-data-folder c:\Users\boerp\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data --docker-path podman --container-session-data-folder /tmp/devcontainers-9d2d3b0d-821c-4a5a-9acc-20217cb4955b1742846878398 --workspace-folder c:\Users\me\Projects\MyProject\sandbox_devcontainer_podman --workspace-mount-consistency cached --gpu-availability detect --id-label devcontainer.local_folder=c:\Users\me\Projects\MyProject\sandbox_devcontainer_podman --id-label devcontainer.config_file=c:\Users\me\Projects\MyProject\sandbox_devcontainer_podman\.devcontainer\devcontainer.json --log-level debug --log-format json --config c:\Users\me\Projects\MyProject\sandbox_devcontainer_podman\.devcontainer\devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root --terminal-columns 309 --terminal-rows 32 --include-configuration --include-merged-configuration
[2402 ms] ProxyResolver#loadSystemCertificates count
[2405 ms] ProxyResolver#loadSystemCertificates count filtered
[2407 ms] Start: Run: C:\Program Files\Microsoft VS Code\Code.exe c:\Users\boerp\.vscode\extensions\ms-vscode-remote.remote-containers-0.401.0\dist\spec-node\devContainersSpecCLI.js up --user-data-folder c:\Users\boerp\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data --docker-path podman --container-session-data-folder /tmp/devcontainers-9d2d3b0d-821c-4a5a-9acc-20217cb4955b1742846878398 --workspace-folder c:\Users\me\Projects\MyProject\sandbox_devcontainer_podman --workspace-mount-consistency cached --gpu-availability detect --id-label devcontainer.local_folder=c:\Users\boerp\D-schijf\Projects\uniphy\sandbox_devcontainer_podman --id-label devcontainer.config_file=c:\Users\boerp\D-schijf\Projects\uniphy\sandbox_devcontainer_podman\.devcontainer\devcontainer.json --log-level debug --log-format json --config c:\Users\boerp\D-schijf\Projects\uniphy\sandbox_devcontainer_podman\.devcontainer\devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root --terminal-columns 309 --terminal-rows 32 --include-configuration --include-merged-configuration
[2687 ms] @devcontainers/cli 0.74.0. Node.js v20.18.1. win32 10.0.22631 x64.
[2687 ms] Start: Run: podman buildx version
[3003 ms] buildah 1.39.0
[3003 ms] 
[3003 ms] Start: Run: podman -v
[3147 ms] Start: Resolving Remote
[3149 ms] Start: Run: git rev-parse --show-cdup
[3252 ms] Loading 52 extra certificates from C:\Users\boerp\AppData\Local\Temp\vsch\certificates-0c09768d40b3ceec2a5b03a93e2f0a36a48fdaa951d8abd98b5610d3c3427132.pem.
[3331 ms] Start: Run: podman ps -q -a --filter label=devcontainer.local_folder=c:\Users\boerp\D-schijf\Projects\uniphy\sandbox_devcontainer_podman --filter label=devcontainer.config_file=c:\Users\boerp\D-schijf\Projects\uniphy\sandbox_devcontainer_podman\.devcontainer\devcontainer.json
[3632 ms] Start: Run: podman inspect --type image mcr.microsoft.com/devcontainers/python:1-3.12-bullseye
[3903 ms] Start: Run: podman events --format json --filter event=start
[3929 ms] Start: Starting container
[3929 ms] Start: Run: podman run --sig-proxy=false -a STDOUT -a STDERR --mount type=bind,source=c:\Users\boerp\D-schijf\Projects\uniphy\sandbox_devcontainer_podman,target=/workspaces/sandbox_devcontainer_podman,consistency=cached --mount type=volume,src=vscode,dst=/vscode -l devcontainer.local_folder=c:\Users\boerp\D-schijf\Projects\uniphy\sandbox_devcontainer_podman -l devcontainer.config_file=c:\Users\boerp\D-schijf\Projects\uniphy\sandbox_devcontainer_podman\.devcontainer\devcontainer.json --entrypoint /bin/sh -l devcontainer.metadata=[{"id":"ghcr.io/devcontainers/features/common-utils:2"},{"id":"ghcr.io/devcontainers/features/git:1"},{"id":"ghcr.io/devcontainers/features/node:1","customizations":{"vscode":{"extensions":["dbaeumer.vscode-eslint"]}}},{"id":"ghcr.io/devcontainers/features/python:1","customizations":{"vscode":{"extensions":["ms-python.python","ms-python.vscode-pylance","ms-python.autopep8"],"settings":{"python.defaultInterpreterPath":"/usr/local/python/current/bin/python","[python]":{"editor.defaultFormatter":"ms-python.autopep8"}}}}},{"customizations":{"vscode":{"settings":{"python.defaultInterpreterPath":"/usr/local/bin/python"}}},"remoteUser":"vscode"}] mcr.microsoft.com/devcontainers/python:1-3.12-bullseye -c echo Container started
Container started
...
...

podman info output

Client:
  APIVersion: 5.4.0
  Built: 1739297196
  BuiltTime: Tue Feb 11 19:06:36 2025
  GitCommit: f9f7d48b24b1ca4403f189caaeab1cb8ff4a9aa2
  GoVersion: go1.23.6
  Os: windows
  OsArch: windows/amd64
  Version: 5.4.0
host:
  arch: amd64
  buildahVersion: 1.39.0
  cgroupControllers:
  - cpuset
  - cpu
  - cpuacct
  - blkio
  - memory
  - devices
  - freezer
  - net_cls
  - perf_event
  - net_prio
  - hugetlb
  - pids
  - rdma
  - misc
  cgroupManager: cgroupfs
  cgroupVersion: v1
  conmon:
    package: conmon-2.1.12-3.fc41.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.1.12, commit: '
  cpuUtilization:
    idlePercent: 99.63
    systemPercent: 0.19
    userPercent: 0.19
  cpus: 12
  databaseBackend: sqlite
  distribution:
    distribution: fedora
    variant: container
    version: "41"
  eventLogger: journald
  freeLocks: 2044
  hostname: ICT0124683
  idMappings:
    gidmap: null
    uidmap: null
  kernel: 5.15.167.4-microsoft-standard-WSL2
  linkmode: dynamic
  logDriver: journald
  memFree: 12201734144
  memTotal: 16610672640
  networkBackend: netavark
  networkBackendInfo:
    backend: netavark
    dns:
      package: aardvark-dns-1.14.0-1.fc41.x86_64
      path: /usr/libexec/podman/aardvark-dns
      version: aardvark-dns 1.14.0
    package: netavark-1.14.0-1.fc41.x86_64
    path: /usr/libexec/podman/netavark
    version: netavark 1.14.0
  ociRuntime:
    name: crun
    package: crun-1.20-2.fc41.x86_64
    path: /usr/bin/crun
    version: |-
      crun version 1.20
      commit: 9c9a76ac11994701dd666c4f0b869ceffb599a66
      rundir: /run/crun
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJL
  os: linux
  pasta:
    executable: /usr/bin/pasta
    package: passt-0^20250217.ga1e48a0-2.fc41.x86_64
    version: ""
  remoteSocket:
    exists: true
    path: unix:///run/podman/podman.sock
  rootlessNetworkCmd: pasta
  security:
    apparmorEnabled: false
    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
    rootless: false
    seccompEnabled: true
    seccompProfilePath: /usr/share/containers/seccomp.json
    selinuxEnabled: false
  serviceIsRemote: true
  slirp4netns:
    executable: ""
    package: ""
    version: ""
  swapFree: 4290760704
  swapTotal: 4294967296
  uptime: 13h 9m 54.00s (Approximately 0.54 days)
  variant: ""
plugins:
  authorization: null
  log:
  - k8s-file
  - none
  - passthrough
  - journald
  network:
  - bridge
  - macvlan
  - ipvlan
  volume:
  - local
registries:
  search:
  - docker.io
store:
  configFile: /usr/share/containers/storage.conf
  containerStore:
    number: 3
    paused: 0
    running: 2
    stopped: 1
  graphDriverName: overlay
  graphOptions:
    overlay.additionalImageStores:
    - /usr/lib/containers/storage
    overlay.imagestore: /usr/lib/containers/storage
    overlay.mountopt: nodev,metacopy=on
  graphRoot: /var/lib/containers/storage
  graphRootAllocated: 1081101176832
  graphRootUsed: 8831102976
  graphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Supports shifting: "false"
    Supports volatile: "true"
    Using metacopy: "true"
  imageCopyTmpDir: /var/tmp
  imageStore:
    number: 5
  runRoot: /run/containers/storage
  transientStore: false
  volumePath: /var/lib/containers/storage/volumes
version:
  APIVersion: 5.4.0
  BuildOrigin: Fedora Project
  Built: 1739232000
  BuiltTime: Tue Feb 11 01:00:00 2025
  GitCommit: ""
  GoVersion: go1.23.5
  Os: linux
  OsArch: linux/amd64
  Version: 5.4.0

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

No

Additional environment details

Additional environment details

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

PepijnB avatar Mar 24 '25 20:03 PepijnB

can you create a small reproducer by eliminating vscode from the mix?

baude avatar Mar 24 '25 20:03 baude

can you create a small reproducer by eliminating vscode from the mix?

I understand your request, but I don't know how to start the container with relevant options from the command line. Besides that, the container is not in a Dockerfile but in .devcontainer.json. Can you tell me how to approach this?

PepijnB avatar Mar 24 '25 21:03 PepijnB

A friendly reminder that this issue had no activity for 30 days.

github-actions[bot] avatar Apr 24 '25 00:04 github-actions[bot]

can you create a small reproducer by eliminating vscode from the mix?

I understand your request, but I don't know how to start the container with relevant options from the command line. Besides that, the container is not in a Dockerfile but in .devcontainer.json. Can you tell me how to approach this?

@baude Do you have any suggestions on how to do this?

PepijnB avatar Apr 24 '25 06:04 PepijnB