Kubernetes and Docker Pattern popualate two image tablesDescriptionThe customer would like to understand the model and when Docker and Kubernetes patterns populate cmdb_ci_docker_image and cmdb_ci_docker_local_image tables.Steps to Reproduce Build a docker image from the source codeDo not push it to any registry to avoid calculating manifest digestRun Docker discoveryDocker Pattern will populate cmdb_ci_docker_local_image tableNow push the same image to the local registryRun Docker Pattern againDiscovery will populate cmdb_ci_docker_image due to defined manifestKubernetes images always contain manifest digests so they will be always added to cmdb_ci_docker_image tableWorkaroundThe diagram below presents the model which covers images created by Docker and Kubernetes patterns. Images used by Kubernetes Pods will be always added to cmdb_ci_docker_image table because image digests will be caclualted at the image registry push automatically. Kubernetes doesn't use local images because local images would have to be built at every Kubernetes cluster node. On the other hand the Docker target image table depends on digests. In the example below 2 images (myimage/unused/alpine, myimage/alpine) will be added to cmdb_ci_docker_local_image. Otherswill be added to cmdb_ci_docker_image. $ docker image ls --digests --format '{{.ID}},{{.Repository}},{{.Digest}}'3297c4272e3b,127.0.0.1:5000/naveen,sha256:8ce582e708ddfa8af8b18d0b4ec6fca28f2f0a90dfd84d28a6d07c7badb430f0a8781fe3b7a2,registry,sha256:f4e1b878d4bc40a1f65532d68c94dcfbab56aa8cba1f00e355a206e7f6cc9111d684d659b474,myimage/unused/alpine,<none>d1397258b209,redis,sha256:e647cfe134bf5e8e74e620f66346f93418acfc240b71dd85640325cb7cd01402e92fd48047fd,almalinux/9-base,sha256:ba3f7aeb14a07548098888a931243c4e8a911218e8d4e33443cdaabfd2635ee1c30ffba6de49,almalinux,sha256:b353d3bd6c1b5142d943d88a8c5d452ba11687ecd68015b8f7829ac8ae456e2f731c8b73370e,192.168.1.219:5000/mybusybox,sha256:e6c7f1eb0cea914a503424a79de7f5117d8cbd771c114213d474ceb99933b6b4ba5dc23f65d4,busybox,sha256:478209e7be50e5f5c9fd47a6a71d43c119dd44c393160e49dc4bb86f99a439de3e5d6b89cabf,busybox,sha256:97e3873d1f61ba651b632e4755fc52e1d90c9f6e4f01d9b720f37af5efed17e57b338cab6d90,myimage/alpine,<none>1c10e9375739,busybox,sha256:72010e07a9a0a6517cfa3262ec00cedccd994315b1a1f3ac07bdd42bfdb79bab Legend: Orange: Kubeentes and DockerGreen: Kubernetes onlyRed: Kubernetes and Docker (cmdb_ci_docker_image only)Blue: Docker (cmdb_ci_docker_local_image only). Related Problem: PRB1757331