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

docker-compose: command not found #136

Open
bepersevering opened this issue Sep 13, 2022 · 0 comments
Open

docker-compose: command not found #136

bepersevering opened this issue Sep 13, 2022 · 0 comments

Comments

@bepersevering
Copy link

bepersevering commented Sep 13, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant