Files
docker-cli/components/engine/integration-cli
Boaz Shuster 5209994e39 Validate docker-load receives a tar file
To load an image from a tar file, you can specify
the tar file in the -i/--input option:
docker load -i image_1.tar

or using stdin:

docker load < image_1.tar
cat image_1.tat | docker load

If the image file isn't given the `docker load`
command gets stuck.

To avoid that, the load makes sure the CLI input is
not a terminal or the `--input` option was set.
If not then an error message is shown.

Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
Upstream-commit: 4426189b35aee4a64bedfb48604ad342a3a5b946
Component: engine
2016-10-31 15:30:55 +02:00
..
2016-10-24 15:20:01 -07:00
2016-10-24 15:20:01 -07:00
2016-10-29 15:03:26 +08:00
2016-06-02 17:17:22 +08:00
2016-08-09 09:42:23 +08:00
2016-10-29 15:03:26 +08:00
2016-10-27 12:27:30 -07:00
2016-09-07 17:30:35 -04:00
2016-09-02 19:07:54 -07:00