Can't use docker-compose on docker-machine in the droplet.

Posted June 22, 2020 854 views

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.

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


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!