dvddarias / rdocker

Securely control a remote docker daemon CLI using ssh forwarding, no SSL setup needed.
MIT License
112 stars 17 forks source link

http: server gave HTTP response to HTTPS client #7

Closed joaocc closed 7 years ago

joaocc commented 7 years ago

When connecting via rdocker (from mac), the following error occur:

$ rdocker ddddddocker.aaa.com
Warning: Permanently added '[hammer-bld-00.sbg1-ovh.hskillz.net]:60022,[167.114.246.105]:60022' (RSA) to the list of known hosts.
Local docker client connected to ddddddocker.aaa.com docker daemon.
Route: localhost:53549 -> ddddddocker.aaa.com:42998
Press Ctrl+D to stop forwarding and exit the bash session.
docker:ddddddocker.aaa.com
$ docker ps -a
error during connect: Get https://localhost:53549/v1.26/containers/json?all=1: http: server gave HTTP response to HTTPS client

Not sure if this is an rdocker induced problem, or if I need to add some configuration to the remote docker service (currently 1.13.1 on ubuntu 16.04). Thx

joaocc commented 7 years ago

Please disregard. Problem was caused by docker-machine env for a different server.