1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/cli/command/image
Boaz Shuster 4426189b35 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
..
build.go add --network option for docker build 2016-10-25 10:25:36 -07:00
cmd.go Add subcommand prune to the container, volume, image and system commands 2016-09-29 07:42:53 -07:00
history.go Restrict size to 2 fractional digits for docker images 2016-09-08 18:26:50 -07:00
import.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
inspect.go Fix typs from go to Go 2016-10-18 19:40:16 +08:00
list.go Move canonical image and container commands into a command group 2016-09-19 13:28:02 -04:00
load.go Validate docker-load receives a tar file 2016-10-31 15:30:55 +02:00
prune.go better prune and system df 2016-10-11 00:42:21 +08:00
pull.go Remove remaining registry methods from DockerCLI. 2016-09-09 15:50:01 -04:00
push.go Remove remaining registry methods from DockerCLI. 2016-09-09 15:50:01 -04:00
remove.go Move canonical image and container commands into a command group 2016-09-19 13:28:02 -04:00
save.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
tag.go Move api/client -> cli/command 2016-09-08 15:46:29 -04:00
trust.go Fix API incompatibilities between notary v0.3.0 and v0.4.2: 2016-10-14 17:53:34 -07:00
trust_test.go Move image trust related cli methods into the image package. 2016-09-09 10:50:16 -04:00