docker commit running container
When committing a running container with docker commit , is this creating a consistent snapshot of the filesystem? I'm considering this approach for backing up containers. You would just have to docker commit <container> <container>:<date> and push it to a local registry. The backup would be incremental, as the commit would just create a new layer. Also would the big amount of layers hurt io performance of the container drastically? Is there a way to remove intermediate layers at a later point in time? Edit By consistent I mean that every application that is designed to survive a power-loss