Understanding docker commit, how it captures container read-write layer state into a new image layer, use cases like quick forensic snapshots, and why it is an anti-pattern for production builds.