devcontainers / devcontainers/cli

Podman error: could not find a working conmon binary

Open
#654 1 comment 0 reactions 0 assignees View on GitHub
bug info-needed
Dominant language
TypeScript
Stars
3k
Forks
457
Avg merge
13h 17m
Merged PRs (30d)
6

Description

wordy description can be found here: https://github.com/microsoft/vscode-remote-release/issues/9088

I am using podman + vscode for remote devcontainer,

but I got following error recently:
```
[4696 ms] Start: Run in Host: /home/xxxx/miniconda3/bin/podman version --format {{.Server.APIVersion}}
[4801 ms] Error: could not find a working conmon binary (configured options: [/usr/libexec/podman/conmon /usr/local/libexec/podman/conmon /usr/local/lib/podman/conmon /usr/bin/conmon /usr/sbin/conmon /usr/local/bin/conmon /usr/local/sbin/conmon /run/current-system/sw/bin/conmon]: invalid argument)
```

I can run `podman version --format {{.Server.APIVersion}}` on my remote host, the output is
```
4.3.1
```

the conmon is installed
```
# which conmon
/home/xxxx/miniconda3/bin/conmon
```

the vscode version :
```
Version: 1.83.0 (user setup)
Commit: e7e037083ff4455cf320e344325dacb480062c3c
Date: 2023-10-03T16:12:16.321Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.22621
```

the devcontainer:
```
Name: Dev Containers
Id: ms-vscode-remote.remote-containers
Description: Open any folder or repository inside a Docker container and take advantage of Visual Studio Code's full feature set.
Version: 0.317.0
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers
```

But I works if I roll back ms-vscode-remote.remote-containers to version v0.299.0; I did not test other older version.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.