Michael J. Ryan
1 min readJul 16, 2019

--

For those interested in doing this… it’s generally a bad idea to use a volume mount for live databases inside Docker Desktop (as the volumes are using replication in and out of the container, which slows performance dramatically). You best bet is to use a Named Volume for persistence, then you can use docker cp to copy in/out of that volume. Alternatively, mount a volume to /backup and use that for your backup path, which will be less of an issue.

--

--

Michael J. Ryan
Michael J. Ryan

Written by Michael J. Ryan

Food nerd (keto, omad, carnivore) — Programmer and JavaScript junkie! (node.js, mongodb, browser)

No responses yet