Tag to an image can be added during build or explicit using docker tag
docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]
Example
docker tag ubuntu ubuntutest (This will create an copy of the ubuntu image with ubuntutest name, we can also specify a particular custom tag)