Use 「docker image」 in docker v1.13+

This commit is contained in:
khs1994
2017-10-24 13:06:50 +08:00
parent d8632d8554
commit 23d6736c12
6 changed files with 54 additions and 2 deletions

View File

@@ -70,3 +70,13 @@ Loaded image: alpine:latest
```bash
docker save <镜像名> | bzip2 | pv | ssh <用户名>@<主机名> 'cat | docker load'
```
## Docker 1.13+
在 Docker 1.13+ 版本中推荐使用 docker image 来管理镜像。
```bash
$ docker image import
$ docker image load
$ docker image save
```