Error while fetching server API version: Not supported URL scheme http+docker

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