docker rename image code example
Example 1: how to rename a docker container
/*it does not restart the container */
docker container rename [old name] [new name]
Example 2: docker load command rename image
docker image tag server:latest myname/server:latest
Example 3: how to change the tag of docker image
docker tag 7b9b13f7b9c0 ubuntu/dev:v1.6.14.2017
Example 4: docker load command rename image
docker image tag d583c3ac45fd myname/server:latest
Example 5: update docker image name
docker rename | Docker Documentation