Save docker Mongo container with all the data and export it

Viewed 3386

I have created a docker image with a container of Mongo.

My database is filled with data, up to 35 GB.

I want to be able to export it (tar file for example) with all the data inside, and to import to another docker-machine without losing any data.

When using docker save, I couldn't find any information on the statut of saving up data ...

What is the best method to save a fully functionnal container and import it to another docker-machine ?

2 Answers
Related