From 34d95d3cf250f6d4e820053c44a143ea02fc250b Mon Sep 17 00:00:00 2001 From: Mark Sta Ana Date: Fri, 19 Jun 2015 12:49:22 +0100 Subject: [PATCH] Provide an example of how to set the memory usage --- memcached/content.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/memcached/content.md b/memcached/content.md index d747b781d..9d2180269 100644 --- a/memcached/content.md +++ b/memcached/content.md @@ -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).