docker stores the data in the concept of volumes, it is a path to your hard drive, then you can imagine to add the volume to the data backup, one example with mail piler (which is three containers based with docker-compose)
1 Like