I have an images in my remote docker registry:
xx.xx.xx.xx:5000/library/ruby:2.2.1
Is there a quick way or existing command to rename it?
I know I can implement this by executing docker pull
it to local and rename it by docker tag
and then docker push
again.
docker pull xx.xx.xx.xx:5000/library/ruby:2.2.1
docker tag xx.xx.xx.xx:5000/library/ruby:2.2.1 xx.xx.xx:5000/library/new_name:latest
docker push xx.xx.xx.xx:5000/library/new_name:latest
But since pulling and push images cost time, I wonder if there is an quick way to rename it ?