Sign inSign up

clover/memcached

By clover

Updated 4 months ago

Memcached

Image
1

2.7K

clover/memcached repository overview

Memcached docker image

Memcached optimizes specific high-load serving applications that are designed to take advantage of its versatile no-locking memory access system.

This image is based on official memcached package for debian and is built on top of clover/base.

Exposed ports
PortDescription
22122TCP/UDP port memcached is listening on
Environment variables
EnvironmentDefault valueDescription
PUIDnot setdesired user id of the process owner
PGIDnot setdesired group id of the process pwner (primary group of the PUID user)
PUSERnot setdesired PUID user name
PGROUPnot setdesired PGID group name
CHOWNnot setspace-separated list of directories to change ownership to PUID/PGID during container startup
CRONnot set (0)will start cron inside the container if set to 1
MEMCACHED_TCP_PORT11211TCP port to listen on
MEMCACHED_UDP_PORT11211UDP port to listen on (0 is off)
MEMCACHED_UNIX_SOCKETnot setUNIX socket to listen on (disables network support)
MEMCACHED_UNIX_MASKnot setaccess mask for UNIX socket, in octal (default: 700)
MEMCACHED_ENABLE_SHUTDOWNnot setEnable shutdown command
MEMCACHED_LISTENnot setspace-separated list of interface(s) to listen on (default: INADDR_ANY); if TLS/SSL is enabled, notls prefix can be used to disable for specific listeners (notls:<ip>:<port>)
MEMCACHED_ENABLE_COREDUMPSnot setmaximize core file limit
MEMCACHED_MEMORY_LIMITnot set (64)Item memory in megabytes
MEMCACHED_DISABLE_EVICTIONSnot setReturn error on memory exhausted instead of evicting
MEMCACHED_CONN_LIMITnot set (1024)Max simultaneous connections
MEMCACHED_LOCK_MEMORYnot setlock down all paged memory
MEMCACHED_VERBOSEnot setVerbosity level 1, 2 or 3
MEMCACHED_SLAB_GROWTH_FACTORnot set (1.25)Chunk size growth factor
MEMCACHED_SLAB_MIN_SIZEnot set (48)Min space used for key+value+flags in bytes
MEMCACHED_ENABLE_LARGEPAGESnot setTry to use large memory pages (if available)
MEMCACHED_THREADSnot set (4)Number of threads to use
MEMCACHED_MAX_REQS_PER_EVENTnot set (20)Maximum number of requests per event, limits the requests processed per connection to prevent starvation
MEMCACHED_DISABLE_CASnot setDisable use of CAS (compare-and-swap)
MEMCACHED_LISTEN_BACKLOGnot set (1024)Set the backlog queue limit
MEMCACHED_PROTOCOLnot set (auto)Protocol, one of the ascii, binary or auto
MEMCACHED_MAX_ITEM_SIZEnot set (1mb)Adjusts max item size (min: 1k, max: 128m)
MEMCACHED_ENABLE_SASLnot setTurn on Sasl authentication
MEMCACHED_DISABLE_FLUSH_ALLnot setDisable flush_all command
MEMCACHED_DISABLE_DUMPINGnot setDisable stats cachedump and lru_crawler metadump
MEMCACHED_DISABLE_WATCHnot setdisable watch commands (live logging)
MEMCACHED_AUTH_FILEnot set(EXPERIMENTAL) enable ASCII protocol authentication; file format: user:pass{\n}user2:pass2{\n}
MEMCACHED_MEMORY_FILEnot set(EXPERIMENTAL) mmap a file for item memory; use only in ram disks or persistent memory mounts! enables restartable cache (stop with SIGUSR1)
MEMCACHED_ENABLE_SSLnot setenable TLS/SSL; use MEMCACHED_EXTENDED options to pass ssl_*-related parameters
MEMCACHED_EXTENDEDnot setComma separated list of extended options, most options have a 'no_' prefix to disable, see memcached --help for a list of available options
MEMCACHED_NAPI_IDSnot setnumber of napi ids. see doc/napi_ids.txt for more details

Tag summary

Content type

Image

Digest

sha256:51d43973c

Size

14.5 MB

Last updated

4 months ago

docker pull clover/memcached