Skip to content
This repository was archived by the owner on May 2, 2023. It is now read-only.
This repository was archived by the owner on May 2, 2023. It is now read-only.

docker-compose: command not found #136

Description

@bepersevering

The Error message:
/bin/bash: docker-compose: command not found
make: *** No rule to make target 'nginx', needed by 'infra'. Stop.

I find that I installed the latest docker version, and there is command 'docker compose' instead of 'docker-compose'.So, I modify the Makefile content

COMPOSE := docker-compose

to

COMPOSE := docker compose

and then, it well work.

My Environment:
Ubuntu 20.04.4 LTS
Linux build 5.15.0-41-generic #44~20.04.1-Ubuntu SMP Fri Jun 24 13:27:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Docker Version:
Docker version 20.10.18, build b40c2f6
docker compose:
Docker Compose version v2.10.2

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