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.
| Port | Description |
|---|---|
22122 | TCP/UDP port memcached is listening on |
| Environment | Default value | Description |
|---|---|---|
PUID | not set | desired user id of the process owner |
PGID | not set | desired group id of the process pwner (primary group of the PUID user) |
PUSER | not set | desired PUID user name |
PGROUP | not set | desired PGID group name |
CHOWN | not set | space-separated list of directories to change ownership to PUID/PGID during container startup |
CRON | not set (0) | will start cron inside the container if set to 1 |
MEMCACHED_TCP_PORT | 11211 | TCP port to listen on |
MEMCACHED_UDP_PORT | 11211 | UDP port to listen on (0 is off) |
MEMCACHED_UNIX_SOCKET | not set | UNIX socket to listen on (disables network support) |
MEMCACHED_UNIX_MASK | not set | access mask for UNIX socket, in octal (default: 700) |
MEMCACHED_ENABLE_SHUTDOWN | not set | Enable shutdown command |
MEMCACHED_LISTEN | not set | space-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_COREDUMPS | not set | maximize core file limit |
MEMCACHED_MEMORY_LIMIT | not set (64) | Item memory in megabytes |
MEMCACHED_DISABLE_EVICTIONS | not set | Return error on memory exhausted instead of evicting |
MEMCACHED_CONN_LIMIT | not set (1024) | Max simultaneous connections |
MEMCACHED_LOCK_MEMORY | not set | lock down all paged memory |
MEMCACHED_VERBOSE | not set | Verbosity level 1, 2 or 3 |
MEMCACHED_SLAB_GROWTH_FACTOR | not set (1.25) | Chunk size growth factor |
MEMCACHED_SLAB_MIN_SIZE | not set (48) | Min space used for key+value+flags in bytes |
MEMCACHED_ENABLE_LARGEPAGES | not set | Try to use large memory pages (if available) |
MEMCACHED_THREADS | not set (4) | Number of threads to use |
MEMCACHED_MAX_REQS_PER_EVENT | not set (20) | Maximum number of requests per event, limits the requests processed per connection to prevent starvation |
MEMCACHED_DISABLE_CAS | not set | Disable use of CAS (compare-and-swap) |
MEMCACHED_LISTEN_BACKLOG | not set (1024) | Set the backlog queue limit |
MEMCACHED_PROTOCOL | not set (auto) | Protocol, one of the ascii, binary or auto |
MEMCACHED_MAX_ITEM_SIZE | not set (1mb) | Adjusts max item size (min: 1k, max: 128m) |
MEMCACHED_ENABLE_SASL | not set | Turn on Sasl authentication |
MEMCACHED_DISABLE_FLUSH_ALL | not set | Disable flush_all command |
MEMCACHED_DISABLE_DUMPING | not set | Disable stats cachedump and lru_crawler metadump |
MEMCACHED_DISABLE_WATCH | not set | disable watch commands (live logging) |
MEMCACHED_AUTH_FILE | not set | (EXPERIMENTAL) enable ASCII protocol authentication; file format: user:pass{\n}user2:pass2{\n} |
MEMCACHED_MEMORY_FILE | not 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_SSL | not set | enable TLS/SSL; use MEMCACHED_EXTENDED options to pass ssl_*-related parameters |
MEMCACHED_EXTENDED | not set | Comma separated list of extended options, most options have a 'no_' prefix to disable, see memcached --help for a list of available options |
MEMCACHED_NAPI_IDS | not set | number of napi ids. see doc/napi_ids.txt for more details |
Content type
Image
Digest
sha256:51d43973c…
Size
14.5 MB
Last updated
4 months ago
docker pull clover/memcached