Docker - Commit (Image History)

About

Create a new image from a container's changes

A RUN instruction in a build dockerfile generates commits. containers can then be created from any point in an image’s history, much like source control.

Example

Persisting after a commit

docker commit -m "With Login" containerName gerardnico/cli:latest

Powered by ComboStrap