Docker: Save Current State
From wiki.jacobjohns.com

- Use
docker committo save a containers current state.docker commit nginx nginx:backup
- This adds an image of the container to the local repository. So, if a change is made to a container and needs to be reverted it can be done so individually.
- To remove an image use
docker imagesto list all images anddocker rmito remove the image byname:tagor Image ID.docker imagesdocker rmi nginx:backup
