From 918229cbdfd0ece6be430ccd51d36720a871dd47 Mon Sep 17 00:00:00 2001 From: Andy Rothfusz Date: Tue, 14 Jul 2015 15:43:59 -0700 Subject: [PATCH] Document that load supports compressed tarballs. As per https://github.com/docker/docker/blob/ecdbf868842f702e2b824aa1e11097809d48a659/pkg/archive/archive.go#L96 Signed-off-by: Andy Rothfusz --- docs/reference/commandline/load.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/commandline/load.md b/docs/reference/commandline/load.md index 2f52465ebf..d4154cd5f7 100644 --- a/docs/reference/commandline/load.md +++ b/docs/reference/commandline/load.md @@ -15,14 +15,14 @@ weight=1 Load an image from a tar archive or STDIN - -i, --input="" Read from a tar archive file, instead of STDIN + -i, --input="" Read from a tar archive file, instead of STDIN. The tarball may be compressed with gzip, bzip, or xz Loads a tarred repository from a file or the standard input stream. Restores both images and tags. $ docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE - $ docker load < busybox.tar + $ docker load < busybox.tar.gz $ docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE busybox latest 769b9341d937 7 weeks ago 2.489 MB