Difficulty: Intermediate
What is 'docker commit' and is it recommended?
It creates a new image from a container's current state. It is generally **not recommended** because it's not reproducible; the best practice is to use a Dockerfile.
Commit, Image Creation