swipely/docker-api — pull request #128 by lmars (2014-05-04 16:30:44+00:00)
Title: Support attaching to STDIN of containers

I have added a custom Excon middleware which allows hijacking the HTTP socket, then if `stdin` is passed to `Container#attach`, it will be streamed to the container using `IO.copy_stream`.

I have added a spec which passes when testing against a running Docker daemon, but it is incompatible with VCR due to the connection hijacking, so I have pended it.