Closed Jesper-Hustad closed 2 months ago
I agree that we should retire references to Compose v1 at some point. However, Compose v1 is not the reason for your error message since we support it just fine.
It seems like you have 2 conflicting versions on one hand: docker-compose
is v1, docker compose
is v2 (ref).
On the other hand, v1 is probably not installed properly, otherwise it wouldn't be referencing Python packages inside /home/XXXX/.local/lib/python3...
.
Feel free to remove the broken v1 from your host since you already migrated to v2.
Additional note: Compose v1 was indeed broken by a change to the docker
Python package: https://stackoverflow.com/a/77651191
Despite this know breaking change, the docker-compose
Python package seems to no longer be maintained. Its last release was in 2021: https://pypi.org/project/docker-compose/#history
I'm going to remove all references to Compose v1 in docker-elk, thanks for bringing this to my attention!
Problem description
The README says to use
docker-compose
but this causes the following error. Usingdocker compose
fixes the issue.Extra information
Stack configuration
Vanilla, no changes
Docker setup
Container logs