mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-01 02:38:54 +00:00
Fix typo in container/import_export.md:
test/buntu:v1.0 to test/ubuntu:v1.0
This commit is contained in:
parent
da6bb5f174
commit
d61a0b7677
@ -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