SvenDowideit / dockerfiles

dockerfiles that I use
http://fosiki.com
MIT License
212 stars 59 forks source link

Malformed HTTP response #36

Closed zijam closed 8 years ago

zijam commented 8 years ago

When I try to run the image on OSX 10.11.1 with docker v1.9.0, I get the following error:

$ docker run --rm -v /usr/local/bin/docker:/docker -e DOCKER_HOST svendowideit/samba trap_mon
Get http://192.168.99.100:2376/v1.21/info: malformed HTTP response "\x15\x03\x01\x00\x02\x02".
* Are you trying to connect to a TLS-enabled daemon without TLS?

please run with:
   docker run --rm -v $(which docker):/docker -v /var/run/docker.sock:/docker.sock -e DOCKER_HOST svendowideit/samba trap_mon

 OR - depending on your Docker Host's socket connection and location of its docker binary

   docker run --rm -v /usr/local/bin/docker:/docker -e DOCKER_HOST svendowideit/samba trap_mon
zijam commented 8 years ago

Looks like you have to run the command inside boot2docker on OSX