LinuxBuzz published a tutorial about how to manage persistent data in Docker containers.
How to Manage Persistent Data in Docker Containers
In this guide, we will cover how to manage persistent data in Docker containers. Using Bind mounts & Volumes, data persistent is achieved in docker containers.
How to Manage Persistent Data in Docker Containers