What podman commit does?. When will you use it?
Answer
Creates a new image from a running container. Users can apply extra changes to be saved in the new image version.
Most of the time the user case for using podman commit would be to apply changes allowing to better debug the container. Not so much for creating a new image since commit adds additional overhead of potential logs and processes, not required for running the application in the container. This eventually makes images created by podman commit bigger due to the additional data stored there.