Reputation: 43
I have installed Docker using Docker Toolbox as I am using Windows 10 Home version. But when I connect to Docker in Intellij its throwing below error.
Status 400: Client sent an HTTP request to an HTTPS server.
How to resolve this?
Upvotes: 3
Views: 5070
Reputation: 6574
This means that you are not setting tlsVerify/cert path when calling the docker api check your certpath and make suer it has ca.pem, key.pem and cert.pem
Upvotes: 0
Reputation: 1383
Try changing the Engine API URL from tcp://$HOST:$PORT
to https://$HOST:$PORT
.
Upvotes: 5