Provide an example of how to set the memory usage

This commit is contained in:
Mark Sta Ana 2015-06-19 12:49:22 +01:00 committed by booyaa
parent d07ac0e64e
commit 34d95d3cf2
1 changed files with 6 additions and 0 deletions

View File

@ -16,4 +16,10 @@ Start your memcached container with the above command and then you can connect y
The memcached server information would then be available through the ENV variables generated by the link as well as through DNS as `memcache` from `/etc/hosts`.
How to set the memory usage for memcached
docker run --name my-memcache -d memcached memcached -m 64
This would set the memcache server to use use 64 megabytes for storage.
For infomation on configuring your memcached server, see the extensive [wiki](https://code.google.com/p/memcached/wiki/NewStart).