Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spawn docker ENOENT #361

Open
2 tasks done
mybigman opened this issue Jan 11, 2024 · 0 comments
Open
2 tasks done

spawn docker ENOENT #361

mybigman opened this issue Jan 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mybigman
Copy link

⚠️ 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

@mybigman mybigman added the bug Something isn't working label Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant