46 lines
1.3 KiB
Markdown
46 lines
1.3 KiB
Markdown
% MEMCACHED(1) Container Image Pages
|
|
% Petr Hracek
|
|
% February 6, 2017
|
|
|
|
# NAME
|
|
memcached - High Performance, Distributed Memory Object Cache.
|
|
|
|
# DESCRIPTION
|
|
Memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.
|
|
|
|
The container itself consists of:
|
|
- fedora/f26 base image
|
|
- memcached RPM package
|
|
|
|
Files added to the container during docker build include: /files/memcached.sh
|
|
|
|
# USAGE
|
|
To get the memcached container image on your local system, run the following:
|
|
|
|
docker pull registry.fedoraproject.org/f26/memcached
|
|
|
|
|
|
# ENVIRONMENT VARIABLES
|
|
The memcached container includes the following environment variables:
|
|
|
|
For turn on verbose mode, use environment variable
|
|
-e MEMCACHED_DEBUG_MODE
|
|
|
|
For setting cache size, use environment variable
|
|
-e MEMCACHED_CACHE_SIZE
|
|
|
|
For setting maximum connections, use environment variable
|
|
-e MEMCACHED_CONNECTIONS
|
|
|
|
For setting maximum threads, use environment variable
|
|
-e MEMCACHED_THREADS
|
|
|
|
# SECURITY IMPLICATIONS
|
|
Lists of security-related attributes that are opened to the host.
|
|
|
|
-p 11211:11211
|
|
Opens container port 11211 and maps it to the same port on the host.
|
|
|
|
# SEE ALSO
|
|
Memcached page
|
|
<https://memcached.org/>
|