I tried to use dvol with postgres
I started postgres as:
docker run -d -P --name psql -v test:/var/lib/postgresql/data --volume-driver=dvol postgres:9.4.4
Than inserted some data, did a commit, and tried to reset. After reset the container has died:
docker logs psql
LOG: database system was interrupted; last known up at 2016-03-10 21:05:08 UTC
LOG: database system was not properly shut down; automatic recovery in progress
LOG: record with zero length at 0/16B7838
LOG: redo is not required
LOG: MultiXact member wraparound protections are now enabled
LOG: autovacuum launcher started
LOG: database system is ready to accept connections
LOG: received smart shutdown request
LOG: autovacuum launcher shutting down
LOG: shutting down
LOG: database system is shut down
FATAL: data directory "/var/lib/postgresql/data" has group or world access
DETAIL: Permissions should be u=rwx (0700).