docs/api/client
unclejack 33d5b38d62 use ValidateContextDirectory to validate context
This commit makes the Docker cli client use ValidateContextDirectory
before attempting to create a tarball out of the context. This ensures
we avoid errors such as "unexpected EOF" during the upload of the
context.

This check is done before uploading any data and can save time and
bandwidth for remote Docker daemons.

Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
2014-05-17 02:38:29 +03:00
..
cli.go fix https 2014-05-02 19:49:12 +00:00
commands.go use ValidateContextDirectory to validate context 2014-05-17 02:38:29 +03:00
hijack.go move hijack to it's own file 2014-05-02 17:45:58 +00:00
utils.go fix https 2014-05-02 19:49:12 +00:00