Skip to content

Error running docker-compose #210

Closed
Closed
@astrutzenberger

Description

@astrutzenberger

We are currently using Docker version 20.10.17 and Docker Compose version v2.4.1 and get this error:

Error: spawn docker-compose ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
    at onErrorNT (node:internal/child_process:477:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn docker-compose',
  path: 'docker-compose',
  spawnargs: [
    '-f',
    '/home/astrutzenberger/wp-env/58985d03f377084efeb844eaaf1d037e/docker-compose.yml',
    'up',
    '-d',
    'mysql'
  ]
}

The cause seems to be, that the command for docker compose has changed from 'docker-compose' to 'docker compose' in the new version. Are there any plans to update this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions