Docker: How to Change Image Name

Submitted by admin on Sat, 09/17/2016 - 15:54

Use a 'tag' command on docker.
docker tag <image_id> <repository_name>:<tag>

Note: You can omit the part '<tag>' and only write '<repository_name>'. The meaning of the <tag> string after colon (:) of the repository name is that you can put a different version image by changing the date or versions.
docker tag <image_id> <repository_name>