如何将主机目录挂载为mongodb容器的容器卷?

我想为Docker容器创builddocker-composeconfiguration,如下所示:

1)我已经在Azure中安装了Ubuntu14.04。 我已经在主机操作系统,即Ubuntu 14.04中安装了mongodbversion 3.2。
2)现在,我将创build6个容器(nginx,web-app,redis,mongodb,worker,使用来自mongodb容器的图像的数据容器),解释为:

i) Data-container that mounts the directory where monogdb3.2 installed in host Ubuntu writes data (what is the absolute full path for directory where mongodb stores or writes data ?) ii) A mongodb-container that serves as db-backend for web-app container. This mongodb-container should use volume mounted in data-container. iii) mongodb-container should write data in directory on host Ubuntu ie the directory where mongodb3.2 installed in host Ubuntu writes data or directory mounted in data-container. iv) I will stop mongod daemon installed in host ubuntu from running automatically and free the port for db-container to use. v) If i delete and remove containers, I will start the mongod daemon in host Ubuntu and can easily access db and data inside directory. 

所以基本上我想知道,

上面提到的步骤是否足够可行,以便于备份或将来使用时容易保存数据,如果不是,那么正确的方法是什么?

另外,如何创build不会运行任何应用程序的数据容器,并且只能用作数据持久性的卷或目录提供程序?

另外,我想获得关于docker工人的指南或者教程,它是以一种简单易懂的方式工作的,能够以一种适当和可理解的方式教导docker工人的概念?

希望我的问题解释是有道理的。 谢谢。 快乐的编码。