From 3ff4aaca79b485369995c11c96d409e5020b5712 Mon Sep 17 00:00:00 2001 From: Mahmoud Zalt Date: Wed, 1 Jun 2016 14:44:40 +0300 Subject: [PATCH] set the original volume path --- mongo/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mongo/Dockerfile b/mongo/Dockerfile index 9662d6f..897e6f0 100644 --- a/mongo/Dockerfile +++ b/mongo/Dockerfile @@ -4,9 +4,9 @@ MAINTAINER Mahmoud Zalt #COPY mongo.conf /usr/local/etc/mongo/mongo.conf -VOLUME /var/lib/mongo +VOLUME /data/db /data/configdb -CMD [ "mongod" ] +CMD ["mongod"] EXPOSE 27017