mirror of
https://github.com/yeasy/docker_practice.git
synced 2025-08-02 22:11:38 +00:00
Update ubuntu version to 18.04
Signed-off-by: khs1994 <khs1994@khs1994.com>
This commit is contained in:
@@ -58,15 +58,15 @@ Pulling repository centos
|
||||
以下命令中的 `username` 请替换为你的 Docker 账号用户名。
|
||||
|
||||
```bash
|
||||
$ docker tag ubuntu:17.10 username/ubuntu:17.10
|
||||
$ docker tag ubuntu:18.04 username/ubuntu:18.04
|
||||
|
||||
$ docker image ls
|
||||
|
||||
REPOSITORY TAG IMAGE ID CREATED SIZE
|
||||
ubuntu 17.10 275d79972a86 6 days ago 94.6MB
|
||||
username/ubuntu 17.10 275d79972a86 6 days ago 94.6MB
|
||||
ubuntu 18.04 275d79972a86 6 days ago 94.6MB
|
||||
username/ubuntu 18.04 275d79972a86 6 days ago 94.6MB
|
||||
|
||||
$ docker push username/ubuntu:17.10
|
||||
$ docker push username/ubuntu:18.04
|
||||
|
||||
$ docker search username
|
||||
|
||||
|
Reference in New Issue
Block a user