docker set tag in dockerfile code example Example: docker tag docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]