Stop using the docker-compose command. In some cases that is an alias to docker compose but it was originally Docker Compose v1 which is not maintained anymore and wil not support newer Docker API versions. Run
docker compose up -d
Share and learn in the Docker community.
Stop using the docker-compose command. In some cases that is an alias to docker compose but it was originally Docker Compose v1 which is not maintained anymore and wil not support newer Docker API versions. Run
docker compose up -d