Q. What is the purpose of the 'docker commit' command?
β
Correct Answer: (A)
To save changes made to a container as a new image
Explanation: The 'docker commit' command is used to create a new image from a container's changes. For example, 'docker commit <container_id> new_image_name'.