mirror of https://github.com/docker/cli.git
Merge pull request #789 from mistyhacks/load-supports-gzip
docker load supports tar and tar.gz files
This commit is contained in:
commit
6764ce922a
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue