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:
parent
1520f41a65
commit
6bd1f5a3a7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user