docker tag : 标记本地镜像,将其归入某一仓库。
docker tag [OPTIONS] IMAGE[:TAG] [REGISTRYHOST/][USERNAME/]NAME[:TAG]
将镜像ubuntu:15.10标记为 zyiz/ubuntu:v3 镜像。
root@zyiz:~# docker tag ubuntu:15.10 zyiz/ubuntu:v3 root@zyiz:~# docker images zyiz/ubuntu:v3 REPOSITORY TAG IMAGE ID CREATED SIZE zyiz/ubuntu v3 4e3b13c8a266 3 months ago 136.3 MB