What is the docker commit command used for?

Docker Fundamentals Medium

Docker Fundamentals — Medium

What is the docker commit command used for?

Key points

  • Docker commit captures changes made to a container's filesystem.
  • It creates a new image based on the modified container.
  • This command is useful for saving and reusing container changes.

Ready to go further?

Related questions