DockerCLI/command
Boaz Shuster fdbf29e1fa 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>
2016-10-31 15:30:55 +02:00
..
bundlefile Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
checkpoint Allow providing a custom storage directory for docker checkpoints 2016-10-28 07:56:05 -04:00
commands Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
container Allow providing a custom storage directory for docker checkpoints 2016-10-28 07:56:05 -04:00
formatter Add unit tests to cli/command/formatter/stats.go 2016-10-27 18:00:38 +03:00
idresolver Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
image Validate docker-load receives a tar file 2016-10-31 15:30:55 +02:00
inspect add endpoint mode in service pretty 2016-09-27 18:41:19 +08:00
network add `docker network prune` 2016-10-25 06:43:54 +00:00
node make every node and plugin removal call api 2016-10-19 06:40:30 +08:00
plugin Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
prune add `docker network prune` 2016-10-25 06:43:54 +00:00
registry Fix bunch of typos 2016-10-29 15:03:26 +08:00
service Service create --group param 2016-10-28 13:26:31 -07:00
stack Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
swarm Fix bunch of typos 2016-10-29 15:03:26 +08:00
system add `docker network prune` 2016-10-25 06:43:54 +00:00
task fixes #27643 2016-10-28 08:02:57 +08:00
volume Fix typs from go to Go 2016-10-18 19:40:16 +08:00
cli.go Make experimental a runtime flag 2016-10-24 15:20:01 -07:00
events_utils.go Add subcommand prune to the container, volume, image and system commands 2016-09-29 07:42:53 -07:00
in.go Fix the incorrect description for NewInStream 2016-10-13 22:33:09 +08:00
out.go Windows: OCI process struct convergence 2016-09-19 10:34:31 -07:00
registry.go Remove remaining registry methods from DockerCLI. 2016-09-09 15:50:01 -04:00
trust.go Move image trust related cli methods into the image package. 2016-09-09 10:50:16 -04:00
utils.go return nil when no node or service to avoid additional api call 2016-10-11 10:59:16 +08:00