πŸ“Š Docker
Q. What does the 'docker commit' command do?
  • (A) Creates a new container from an existing image
  • (B) Saves changes made in a container to a new image
  • (C) Pushes an image to a remote registry
  • (D) Stops a running container
πŸ’¬ Discuss
βœ… 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.

Explanation by: Priyanka Tomar
'docker commit' is used to create a new image from changes made to a running container.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
76
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Priyanka Tomar
Publisher
πŸ“ˆ
94%
Success Rate