標記影象

標記影象對於跟蹤不同的影象版本非常有用:

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