sclorg / memcached

Container for memcached - high-performance, distributed memory object caching system
Other
1 stars 12 forks source link

CMD in Dockerfile #1

Closed julienlim closed 7 years ago

julienlim commented 7 years ago

Are there any plans to include the following CMD (switches for memcached) in the Dockerfile?

E.g. -m -vv

CACHE_SIZE appears to be similar to the -m switch, but I think that may have been for older releases of memcached.

-vv is for printing out errors and warnings, client commands and responses

Reason I mention this is that I see that FeedHenry and 3scale use these switches.

phracek commented 7 years ago

I would prefer to create a Pull Request. I will test it later on and merge it.

-vv make sense definitely.

TomasTomecek commented 7 years ago

@phracek wouldn't the -vv switch be the same thing as DEBUG_MODE?

Is CACHE_SIZE actually working? I can't see supporting code processing that variable. Or is it internal variable of memcached?

phracek commented 7 years ago

@TomasTomecek yeah, make sense.

CACHE_SIZE is part if /etc/sysconfig/memcached. The PR is prepared a bit. There are several other requirements. I hope I will incorporate it till end of this week. Please be patient. Thx

phracek commented 7 years ago

The PR #9 should solve it.