菜鸟笔记
提升您的技术认知

docker tag 命令-ag真人游戏

阅读 : 1509

docker 命令大全

docker tag : 标记本地镜像,将其归入某一仓库。

语法

docker tag [options] image[:tag] [registryhost/][username/]name[:tag]

实例

将镜像ubuntu:15.10标记为 coonote/ubuntu:v3 镜像。

[email protected]:~# docker tag ubuntu:15.10 coonote/ubuntu:v3
[email protected]:~# docker images   coonote/ubuntu:v3
repository          tag                 image id            created             size
coonote/ubuntu       v3                  4e3b13c8a266        3 months ago        136.3 mb

docker 命令大全