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 (github: vbatts)
@@ -881,11 +881,20 @@ Known Issues (kill)
::
- Usage: docker load < repository.tar
+ Usage: docker load
+
+ 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:
``login``
