restruct the chapter to make it more understanding

This commit is contained in:
Baohua Yang
2014-09-26 15:44:31 +08:00
parent 6d890cab80
commit 8add83dcc2
7 changed files with 65 additions and 87 deletions

View File

@@ -145,3 +145,12 @@ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
ubuntu 14.04 05ac7c0b9383 17 seconds ago 215.5 MB
```
###上传镜像
用户可以通过`docker push`命令把自己创建的镜像上传到仓库中来共享。例如用户在Docker Hub上完成注册后可以推送自己的镜像到仓库中。
```
$ sudo docker push ouruser/sinatra
The push refers to a repository [ouruser/sinatra] (len: 1)
Sending image list
Pushing repository ouruser/sinatra (3 tags)
```