dokku / dokku-mongo

a mongo plugin for dokku
MIT License
174 stars 32 forks source link

< 3.0 images not loading. #25

Closed crm114 closed 8 years ago

crm114 commented 9 years ago

If I try to load 2.6.11 or 2.6.10 MongoDB images the create action hangs at "Waiting for container to be ready".

Flink commented 8 years ago

docker logs output is the following:

Error parsing command line: unknown option storageEngine try 'mongod --help' for more information

So I think this option is only available on mongo 3+ :/ Will have a look about what we can do here.

josegonzalez commented 8 years ago

What did I set the storage engine to? If it's wildtiger, maybe we can just make that optional/configurable?

Flink commented 8 years ago

Yep it’s WiredTiger so we could check for mongo version and activate it only when version > 3.0?

josegonzalez commented 8 years ago

I don't think we can just check for version, as it's possible to use LATEST.