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

Posted June 22, 2020 60 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.

Submit an answer

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