|
|
b33d552 |
% MEMCACHED(1) Container Image Pages
|
|
|
b33d552 |
% Petr Hracek
|
|
|
b33d552 |
% February 6, 2017
|
|
|
b33d552 |
|
|
|
b33d552 |
# NAME
|
|
|
b33d552 |
memcached - High Performance, Distributed Memory Object Cache.
|
|
|
b33d552 |
|
|
|
b33d552 |
# DESCRIPTION
|
|
|
b33d552 |
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.
|
|
|
b33d552 |
|
|
|
b33d552 |
The container itself consists of:
|
|
|
b72afda |
- fedora/f26 base image
|
|
|
b33d552 |
- memcached RPM package
|
|
|
b33d552 |
|
|
|
b33d552 |
Files added to the container during docker build include: /files/memcached.sh
|
|
|
b33d552 |
|
|
|
b33d552 |
# USAGE
|
|
|
b33d552 |
To get the memcached container image on your local system, run the following:
|
|
|
b33d552 |
|
|
|
b72afda |
docker pull registry.fedoraproject.org/f26/memcached
|
|
|
b33d552 |
|
|
|
b33d552 |
|
|
|
b33d552 |
# ENVIRONMENT VARIABLES
|
|
|
b33d552 |
The memcached container includes the following environment variables:
|
|
|
b33d552 |
|
|
|
b72afda |
For turn on verbose mode, use environment variable
|
|
|
b72afda |
-e MEMCACHED_DEBUG_MODE
|
|
|
b72afda |
|
|
|
b72afda |
For setting cache size, use environment variable
|
|
|
b72afda |
-e MEMCACHED_CACHE_SIZE
|
|
|
b72afda |
|
|
|
b72afda |
For setting maximum connections, use environment variable
|
|
|
b72afda |
-e MEMCACHED_CONNECTIONS
|
|
|
b72afda |
|
|
|
b72afda |
For setting maximum threads, use environment variable
|
|
|
b72afda |
-e MEMCACHED_THREADS
|
|
|
b33d552 |
|
|
|
b33d552 |
# SECURITY IMPLICATIONS
|
|
|
b33d552 |
Lists of security-related attributes that are opened to the host.
|
|
|
b33d552 |
|
|
|
b33d552 |
-p 11211:11211
|
|
|
b33d552 |
Opens container port 11211 and maps it to the same port on the host.
|
|
|
b33d552 |
|
|
|
b33d552 |
# SEE ALSO
|
|
|
b33d552 |
Memcached page
|
|
|
b33d552 |
<https://memcached.org/>
|