mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
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) Upstream-commit: 33d5b38d62f48edcadbe239595e242300f3ecd27 Component: engine