I went through links like https://github.com/docker/compose/issues/3021 and https://github.com/docker/compose/issues/3937, but still I am facing below error:
C:\Users\pc\Downloads\docker-compose-scripts>docker-compose up --d
ERROR: TLS configuration is invalid - make sure your DOCKER_TLS_VERIFY and DOCKER_CERT_PATH are set correctly.
You might need to run `eval "$(docker-machine env default)"`
Versions of docker
C:\Users\pc>docker --version
Docker version 20.10.6, build 370c289
C:\Users\pc>docker-compose --version
docker-compose version 1.29.1, build c34c88b2
I had the same problem with docker-compose under Ubuntu 20.04.2 LTS with Pycharm 2021.1.1 (Community Edition). The run configuration would not work, but it started fine in the terminal.
The problem was the docker-server
I recreated it (with the same default settings) and it worked
It seems to be some kind of configuration issue. I reintalled docker-compose at one point, maybe this has something to do with it. Seeing you are on Windows you will probably have to do something slightly different, but I hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With