Tag the pulled container images to provide version or other metadata information:
-
List the pulled images that are in the host node and locate the image to tag. For example, we will tag the images identified in bold:
% docker images REPOSITORY TAG IMAGE ID CREATED SIZE registry 8db46f9d7550 8 days ago 24.2MB repo.blackduck.com/containers/scan-service-migration 2026.9.0 b66ba81729c1 2 weeks ago 223MB repo.blackduck.com/containers/scan-service 2026.9.0 5c44d4c6cd16 2 weeks ago 68.6MB repo.blackduck.com/containers/job-runner 2026.9.0 633cb2e03c61 2 weeks ago 1.01GB repo.blackduck.com/containers/cim-downloads 2026.9.0 11147c2d8404 2 weeks ago 913MB repo.blackduck.com/containers/cim-web 2026.9.0 700087b322a3 2 weeks ago 555MB repo.blackduck.com/containers/cim-tools 2026.9.0 82bcf6c2311f 2 weeks ago 447MB repo.blackduck.com/containers/cache-service 2026.9.0 69e2df321765 7 weeks ago 270MB repo.blackduck.com/containers/storage-service-migration 2026.9.0 246635a4f3d0 7 weeks ago 223MB repo.blackduck.com/containers/storage-service 2026.9.0 d55ebbdaa389 7 weeks ago 28.7MB repo.blackduck.com/containers/common-infra 2026.9.0 d98a723afac7 7 weeks ago 37.7MB ... % -
Map an image to your registry and tag the image with version or other information using the syntax:
docker tag {REGISTRY_FROM}/{image_name}:{version_tag} {REGISTRY_TO}/{image_name}:{version_tag}For example, to map the
repo.blackduck.com/containers/cim-downloads:2026.9.0image to a localhost registry and tag it with the image version:% docker tag repo.blackduck.com/containers/cim-downloads:2026.9.0 localhost:5000/cim-downloads:2026.9.0Another example, to map the
repo.blackduck.com/containers/job-runner:2026.9.0image to a localhost registry and tag it with the image version:% docker tag repo.blackduck.com/containers/job-runner:2026.9.0 localhost:5000/job-runner:2026.9.0 -
List the images and find the newly-tagged images. For example, in bold:
% docker images REPOSITORY TAG IMAGE ID CREATED SIZE registry 8db46f9d7550 8 days ago 24.2MB repo.blackduck.com/containers/scan-service-migration 2026.9.0 b66ba81729c1 2 weeks ago 223MB repo.blackduck.com/containers/scan-service 2026.9.0 5c44d4c6cd16 2 weeks ago 68.6MB localhost:5000/job-runner 2026.9.0 633cb2e03c61 2 weeks ago 1.01GB localhost:5000/cim-downloads 2026.9.0 11147c2d8404 2 weeks ago 913MB repo.blackduck.com/containers/cim-web 2026.9.0 700087b322a3 2 weeks ago 555MB repo.blackduck.com/containers/cim-tools 2026.9.0 82bcf6c2311f 2 weeks ago 447MB repo.blackduck.com/containers/cache-service 2026.9.0 69e2df321765 7 weeks ago 270MB repo.blackduck.com/containers/storage-service-migration 2026.9.0 246635a4f3d0 7 weeks ago 223MB repo.blackduck.com/containers/storage-service 2026.9.0 d55ebbdaa389 7 weeks ago 28.7MB repo.blackduck.com/containers/common-infra 2026.9.0 d98a723afac7 7 weeks ago 37.7MB ... % -
Repeat for all pulled images that need to be pushed to your private registry.
-
Delete any duplicate or unused images from the host node using the
docker rmicommand.