Provide an example of how to set the memory usage
This commit is contained in:
parent
d07ac0e64e
commit
34d95d3cf2
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Reference in New Issue