Separate Docker image from each services present in qcow2

I would like to have multiple Docker containers - each for one services in a Kubernetes POD. Currenly, i have qcow2 images. With guestmount command, i am able generate the tar file from the qcow2 images and create docker image with the tar file.

$ guestmount -a ~/image.qcow2 -i /mnt/convert $ tar -cvzf ~/image.tar.gz -C /mnt/convert ./

But the docker image contains all the services present in that qcow2.

It will be too much time consuming to write separate docker file for each services manually, as there are too many docker files to create.

Is there any tool available which will generate the separate docker images for each services present in the qcow2 image?