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

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.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.


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