docker load supports tar and tar.gz files

Signed-off-by: Misty Stanley-Jones <misty@docker.com>
This commit is contained in:
Misty Stanley-Jones 2018-01-05 13:49:16 -08:00
parent a60bdf3bc8
commit ac7a5650f0

View File

@ -18,7 +18,8 @@ keywords: "stdin, tarred, repository"
```markdown ```markdown
Usage: docker load [OPTIONS] Usage: docker load [OPTIONS]
Load an image from a tar archive or STDIN Load an image or repository from a tar archive (even if compressed with gzip,
bzip2, or xz) from a file or STDIN.
Options: Options:
--help Print usage --help Print usage
@ -28,13 +29,13 @@ Options:
``` ```
## Description ## Description
`docker load` loads a tarred repository from a file or the standard input stream. Load an image or repository from a tar archive (even if compressed with gzip,
It restores both images and tags. bzip2, or xz) from a file or STDIN. It restores both images and tags.
## Examples ## Examples
```bash ```bash
$ docker images $ docker docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE REPOSITORY TAG IMAGE ID CREATED SIZE