4 ms·
You probably want to use docker compose not docker-compose The latter was the name of the compose v1 binary, so using it may cause your command to b
by oftenwrong 4y ago
You probably want to use
docker compose
not
docker-compose
The latter was the name of the compose v1 binary, so using it may cause your command to be handled with a v1-to-v2 compatibility mode. Depends on how your installation is setup. Compose v2 is implemented as a Docker CLI plugin.
- kasbah 4y agoWhen I invoke `docker compose up` on my project with Docker version 20.10.18 it says: The new 'docker compose' command is currently experimental.
- oftenwrong 4y agoI'm not sure what that means, but I don't think compose v2 is considered experimental at this point. It is included in Docker Desktop, for example. You might be running an older version. You can check `docker compose version`. Version 2.12.2 was released a few days ago.