Usage in docker-compose.yml:
memcached:
image: amgrade/memcached
command: "-m 512 -p 11211 -c 2048" # use this to override defaults
expose:
- "11211"
By default, memcached starts with the following parameters: -v -m 256 -p 11211 -c 1024
You may override these by specifying them as the command, for example:
docker run -itd -p 11211:11211 -p 11211:11211/udp amgrade/memcached -vv -m 512 -p 11211 -c 2048
For a list of arguments, you can view the help:
docker run -it --rm amgrade/memcached -help
Content type
Image
Digest
sha256:066013809…
Size
87.5 MB
Last updated
about 11 years ago
docker pull amgrade/memcached