how to docker tag local-image:tagname new-repo:tagname code example Example: docker tag docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]