Q. What does the 'docker commit' command do?
β
Correct Answer: (B)
Saves changes made in a container to a new image
Explanation: 'docker commit' is used to create a new image from changes made to a running container.