标记图像

标记图像对于跟踪不同的图像版本非常有用:

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