Docker tag image -command

Does docker tag “initImageName” “newImageName” --command in linux, creates an alias of image’s name or it doublicates the whole image?

Alias, though it’d be basically impossible to tell (you can’t alter an image at all after you’ve created it).