Tagging an image is useful for keeping track of different image versions:
docker tag ubuntu:latest registry.example.com/username/ubuntu:latest
Another example of tagging:
docker tag myApp:1.4.2 myApp:latest
docker tag myApp:1.4.2 registry.example.com/company/myApp:1.4.2