You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened?
DevPod is failing to start my development container due to an error with podman-compose. The error message indicates that DevPod is passing ls as an argument to podman-compose, which is an invalid command. The full error message is:
error Error finding project files: >>>> Executing external compose provider "/Users/ods/homebrew/bin/podman-compose". Please see podman-compose(1) for how to disable this message. <<<<
usage: podman-compose ...
podman-compose: error: argument command: invalid choice: 'ls' (choose from help, version, wait, systemd, pull, push, build, up, down, ps, run, exec, start, stop, restart, logs, config, port, pause, unpause, kill, stats, images} ...
What did you expect to happen instead?
I expected DevPod to successfully start my development container using podman-compose without any errors.
How can we reproduce the bug? (as minimally and precisely as possible)
Create a .devcontainer directory with a docker-compose.yml file (example below) and a devcontainer.json file (example below).
Run devpod up in the directory containing the .devcontainer directory.
I am using Podman Desktop. The podman-compose binary exists at /Users/ods/homebrew/bin/podman-compose. The issue seems to be that DevPod is incorrectly passing ls as an argument to podman-compose. The docker-compose.yml file is being loaded correctly (as per the logs), but the subsequent call to podman-compose fails.
log
[09:15:42] info time="2025-02-23T09:15:42+09:00" level=warning msg="/Users/ods/Documents/chart-container/.devcontainer/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
[09:15:42] debug Loaded project defaultchf101c
[09:15:43] error Error finding project files: >>>> Executing external compose provider "/Users/ods/homebrew/bin/podman-compose". Please see podman-compose(1) for how to disable this message. <<<<
usage: podman-compose [-h] [-v] [--in-pod in_pod] [--pod-args pod_args]
[--env-file env_file] [-f file] [--profile profile]
[-p PROJECT_NAME] [--podman-path PODMAN_PATH]
[--podman-args args] [--podman-pull-args args]
[--podman-push-args args] [--podman-build-args args]
[--podman-inspect-args args] [--podman-run-args args]
[--podman-start-args args] [--podman-stop-args args]
[--podman-rm-args args] [--podman-volume-args args]
[--no-ansi] [--no-cleanup] [--dry-run]
[--parallel PARALLEL] [--verbose]
{help,version,wait,systemd,pull,push,build,up,down,ps,run,exec,start,stop,restart,logs,config,port,pause,unpause,kill,stats,images} ...
podman-compose: error: argument command: invalid choice: 'ls' (choose from help, version, wait, systemd, pull, push, build, up, down, ps, run, exec, start, stop, restart, logs, config, port, pause, unpause, kill, stats, images)
Error: executing /Users/ods/homebrew/bin/podman-compose --project-name defaultchf101c ls -a --filter name=defaultchf101c --format json: exit status 2
: exit status 2
The text was updated successfully, but these errors were encountered:
What happened?
DevPod is failing to start my development container due to an error with
podman-compose
. The error message indicates that DevPod is passingls
as an argument topodman-compose
, which is an invalid command. The full error message is:What did you expect to happen instead?
I expected DevPod to successfully start my development container using
podman-compose
without any errors.How can we reproduce the bug? (as minimally and precisely as possible)
.devcontainer
directory with adocker-compose.yml
file (example below) and adevcontainer.json
file (example below).devpod up
in the directory containing the.devcontainer
directory.My
docker-compose.yml
:My
devcontainer.json
:Local Environment:
devpod version
and paste the output here] (e.g., DevPod version v0.X.X)DevPod Provider:
Anything else we need to know?
I am using Podman Desktop. The
podman-compose
binary exists at/Users/ods/homebrew/bin/podman-compose
. The issue seems to be that DevPod is incorrectly passingls
as an argument topodman-compose
. Thedocker-compose.yml
file is being loaded correctly (as per the logs), but the subsequent call topodman-compose
fails.log
The text was updated successfully, but these errors were encountered: