-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom mongodb docker image for tutorial #383
Comments
I am currently attempting to build a new image along the lines of the link above... |
How is it going? If this is still not done maybe pair with someone e.g. @robhaswell . |
@itamarst almost done, got mongod running in a container whose image is only 35MB. |
How do we want to go about deploying this, now we have a lightweight image available in the issue branch? In the tutorial
We either need to deploy to the public Docker registry, create a private registry (I think this option is quite a bit of work and may be tricky) or include a TAR (~34MB) that people download off our docs site as part of the tutorial process, with the |
I have publicised the docker image: https://registry.hub.docker.com/u/clusterhq/mongodb/ |
We should cache the image on our base image. |
Fixed by #476. |
So you guys made your own custom mongo images. Is there anyway we can add some other version tags to this image on docker hub? |
Hi, This image is mostly for demo purposes. Any reason you can't use the official image? |
@itamarst When we try to run the official docker hub mongo 2.6.7 and 2.6.6 they fail to run when deployed via Flocker so we are looking into what you guys did differently. |
Default one we're using isn't very good:
mongod
needs to be run with--noprealloc --smallfiles
to fix this). I have workaround for this in Worked out example: a publicly facing data-storing application moves across nodes #131 but it isn't great insofar as the resulting image is local only and can't be downloaded outside the vagrant env.http://blog.docker.com/2013/06/create-light-weight-docker-containers-buildroot/ is a possible technique to try.
The text was updated successfully, but these errors were encountered: