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
1 changed files with 5 additions and 4 deletions

View File

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