Closed challengee closed 8 years ago
/cc @LK4D4 @stevvooe
Thanks for this PR.
We have moved the code from this repo back into the main docker/docker repository; if you still wish to make this change you will need to reopen this PR on the main repo.
You can find the code for the client and types here:
https://github.com/docker/docker/tree/master/api/types https://github.com/docker/docker/tree/master/client
Sorry for the inconvenience but making this change helps people better contribute and not have the vendor mess going forward when changing the types or client for Docker.
Sorry about that and feel free to ask if you have any questions.
After some digging with @devwout, we discovered that
postHijacked
just usesnet.Dial
instead of the one from the underlaying transport. We're having problems with this because we tunnel the docker socket over SSH.The
tlsDialWithDialer
now used aDialer
interface instead ofnet.Dialer
, which means we don't get all of the timeout options. However these were not used (new(net.Dialer)
), so I dumped them.There was no test for
TestContainerExecAttach
, I also didn't add one.This probably needs some additional work though.
Thanks!