-
Notifications
You must be signed in to change notification settings - Fork 101
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
ubuntu support #9
Conversation
Not sure how I feel about an official Ubuntu variant. If we were to add this, why wouldn't we add other suite combinations too (which is a little insane for sure)? ie, what if anything makes "xenial" a special case versus "wheezy" or "trusty"? (especially given that the service itself works the same way regardless, AFAIK) |
Personally, I need it because ubuntu is our corporative politic. We need the infrastructure to be as secure as possible, that is why we want the same baseimage for all components used. It is not about ubuntu being better than anything else, we just can not have multiple baseimages with multiple security holes. It is easier to keep in touch with just one. |
Right, I understand exactly why you chose to use |
Yes, I understand you. But why you think that it is bad? For me, as a docker user, it is always a trouble to find images of all required services with consistent baseimage choice. Some are based on debian:jessie, another on ubuntu:14, e.t.c. More baseimage variants is better for all docker community, I believe. |
Basically, there are two reasons I can see here:
|
to specify memory and connection limits: - MEMCACHED_MEMORY - MEMCACHED_CONNECTIONS
to match the path prepared in the Dockerfile
Unfortunately this is not something we want to support. For most users, just running "memcached" at a specific version fulfills all their requirements. They don't need to care about the underlying distribution it is running within. If they are running their own application, in python for example, and they are unable to run it in our Debian or Alpine based python images, then they are free to install python and their required dependencies within CentOS or other base distribution image. |
The initial ubuntu support. copied from debian and adjusted with packages needed.
These links were used to find out which packages are needed:
https://launchpad.net/ubuntu/xenial/+source/memcached
http://packages.ubuntu.com/xenial/memcached
https://partner-images.canonical.com/core/xenial/current/ubuntu-xenial-core-cloudimg-amd64.manifest