Fix to not fork mongod so mongodb container works as expected

For some reason forking the mongod process seems to cause issues
when the container comes up. If i remove this and run the
images with detach and publishall flags i can connect to
mongo instance.

Change-Id: I0b7193e6369084e3aeec857607dda9c3f235770d
This commit is contained in:
Pradeep Kilambi 2014-11-25 17:23:08 -05:00
parent 1520f41a65
commit 6bd1f5a3a7

View File

@ -10,4 +10,4 @@ VOLUME /var/log/mongodb
EXPOSE 27017
ENTRYPOINT exec /bin/mongod --dbpath /data/db --fork --logpath /var/log/mongodb/mongo.log --noprealloc --smallfiles
ENTRYPOINT exec /bin/mongod --dbpath /data/db --logpath /var/log/mongodb/mongo.log --noprealloc --smallfiles