Merge pull request #789 from mistyhacks/load-supports-gzip

docker load supports tar and tar.gz files
This commit is contained in:
Sebastiaan van Stijn 2018-01-06 13:23:34 +01:00 committed by GitHub
commit 6764ce922a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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