A

Admin • 802.91K Points
Coach

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
  • Correct Answer - Option(B)
  • Views: 10
  • Filed under category Docker
  • Hashtags:

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.