mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-24 15:28:54 +00:00
Merge pull request #56 from tekkamanninja/tekkaman_fix
Fix typo in container/import_export.md:
This commit is contained in:
commit
068e2e948b
@ -13,7 +13,7 @@ $ sudo docker export 7691a814370e > ubuntu.tar
|
|||||||
###导入容器快照
|
###导入容器快照
|
||||||
可以使用 `docker import` 从容器快照文件中再导入为镜像,例如
|
可以使用 `docker import` 从容器快照文件中再导入为镜像,例如
|
||||||
```
|
```
|
||||||
$ cat ubuntu.tar | sudo docker import - test/buntu:v1.0
|
$ cat ubuntu.tar | sudo docker import - test/ubuntu:v1.0
|
||||||
$ sudo docker images
|
$ sudo docker images
|
||||||
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
|
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
|
||||||
test/ubuntu v1.0 9d37a6082e97 About a minute ago 171.3 MB
|
test/ubuntu v1.0 9d37a6082e97 About a minute ago 171.3 MB
|
||||||
|
Loading…
Reference in New Issue
Block a user