mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
docker load: add --input flag
for those that do not care to read from redirected stdin Docker-DCO-1.1-Signed-off-by: Vincent Batts <vbatts@redhat.com> (github: vbatts)
This commit is contained in:
committed by
Tibor Vass
parent
5fdc8456ca
commit
de4aba1b65
@@ -881,10 +881,19 @@ Known Issues (kill)
|
||||
|
||||
::
|
||||
|
||||
Usage: docker load < repository.tar
|
||||
Usage: docker load
|
||||
|
||||
Loads a tarred repository from the standard input stream.
|
||||
Restores both images and tags.
|
||||
Load an image from a tar archive on STDIN
|
||||
|
||||
-i, --input"": Read from a tar archive file, instead of STDIN
|
||||
|
||||
Loads a tarred repository from the standard input stream.
|
||||
Restores both images and tags.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ sudo docker load < busybox.tar
|
||||
$ sudo docker load --input busybox.tar
|
||||
|
||||
.. _cli_login:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user