Docker 标记图像
本文向大家介绍Docker 标记图像,包括了Docker 标记图像的使用技巧和注意事项,需要的朋友参考一下
示例
标记图像对于跟踪不同的图像版本很有用:
docker tag ubuntu:latest registry.example.com/username/ubuntu:latest
标记的另一个示例:
docker tag myApp:1.4.2 myApp:latest docker tag myApp:1.4.2 registry.example.com/company/myApp:1.4.2