I'm running Windows 8.1 64-bit, and the latest version of both Virtualbox and Docker-Toolbox. Most everything works properly, however as per this thread, mounting the data directory of a Postgresql container throws up errors. This is kind of annoying, since I'd like to be able to have a backup of the database to commit / have on hand.
Is there some other method to do this? I was thinking about using Docker signals and catching sigkill/sigterm, but I was hoping there was a better built in method - either in Docker, or Postgresql itself, rather than just running a script to export .sql on container stop.