-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Dev Containers don't support podman-compose #53922
Copy link
Copy link
Closed
Labels
area:dev containersFeedback for Zed's dev containers featureFeedback for Zed's dev containers featurefrequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcBugs that happen for a small subset of users, special configurations, rare circumstances, etcpriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce
Metadata
Metadata
Assignees
Labels
area:dev containersFeedback for Zed's dev containers featureFeedback for Zed's dev containers featurefrequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcBugs that happen for a small subset of users, special configurations, rare circumstances, etcpriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce
Type
Fields
Give feedbackNo fields configured for Bug.
Reproduction steps
podman-compose(most podman distros will use docker-compose as the provider if available)use_podman: trueis set in your settings.json fileprojects: initialize dev containerRust & PostgreSQLwill workError is described in #53478 (comment) - in short, podman-compose has no
--format=jsonoption, which means that the Dev Container module cannot deserialize the compose files.The solution here is to take a dependency on a YAML deserialization provider - presumably rust-yaml2 since it is a transitive dependency already - and move away from json deserialization for docker/podman-compose cases.
Current vs. Expected behavior
Current behavior: from the issue linked above, an error of the form:
Expected behavior: Dev Container opens without issue
Zed version and system specs
Zed: v0.231.2+stable.221.cc335b70f85a17974a4c61f852dbebff8c4b1db7 (Zed)
OS: macOS 15.7.4
Memory: 18 GiB
Architecture: aarch64
Attach Zed log file
Zed.log
Relevant Zed settings
settings.json
Relevant Keymap
keymap.json
(for AI issues) Model provider details
No response
If you are using WSL on Windows, what flavor of Linux are you using?
None