Question

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

Posted June 22, 2020 60 views
Docker

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

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!