I have made a pod, and it has only one container, I've been able to connect ot it by using kubectl exec -it -c <container_name> <pod_name> bash
And I've installed and done several stuff on it.
Now I wish to create an image out of that container to record all those changes in a single image.
I am using docker as the driver. And typically, if this container would have been just any other regular docker container (not managed by k8s), I would have just made a docker commit <container_name>
Is there a way to something similar but considering the container is managed inside a pod of k8s?