louislam / dockge

A fancy, easy-to-use and reactive self-hosted docker compose.yaml stack-oriented manager

Home Page:https://dockge.kuma.pet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spawn docker ENOENT

mybigman opened this issue Β· comments

⚠️ Please verify that this bug has NOT been reported before.

  • I checked and didn't find similar issue

πŸ›‘οΈ Security Policy

Description

No response

πŸ‘Ÿ Reproduction steps

When clicking the button (+compose) to create a new stack the log constantly spews the below error over and over.

Info:
docker aliases to podman
docker compose aliases to podman-compose

I believe the command it is calling docker compose ps --format json

However there is no --format flag.

You need to call either

docker compose --podman-args='--format json' ps or podman-compose --podman-args='--format json' ps

πŸ‘€ Expected behavior

no error

πŸ˜“ Actual Behavior

2024-01-11T05:47:40Z [GETSERVICESTATUSLIST] ERROR: Error: spawn docker ENOENT
    at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
    at __node_internal_errnoException (node:internal/errors:623:12)
    at ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:476:16)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn docker',
  path: 'docker',
  spawnargs: [ 'compose', 'ps', '--format', 'json' ]
}

Dockge Version

1.4.1

πŸ’» Operating System and Arch

fedora 39

🌐 Browser

Firefox 121

πŸ‹ Docker Version

podman version 4.8.3 / podman-compose version 1.0.6

🟩 NodeJS Version

No response

πŸ“ Relevant log output

No response