Hello, I’ve used the docker-machine in DO droplets with docker-compose for years and recently all my docker-compose commands started to fail with the error:

ERROR: Client sent an HTTP request to an HTTPS server.

After creating a docker-machine and the proper droplet I’ve switched the context of my docker commands using:

eval $(docker-machine env mymachine)

then docker-compose ps started to fails with the error above.

Can anybody help me to go around of this problem?

PS: Here is also the StackOverflow question I’ve published.

https://stackoverflow.com/questions/62513213/client-sent-an-http-request-to-an-https-server-docker-compose-with-docker-machi

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hello,

Happy to hear that you’ve managed to fix this by removing the edge installation and installing the stable version of the docker client solved the issue!

Regards,
Bobby