1
0
Эх сурвалжийг харах

Provide an example of how to set the memory usage

Mark Sta Ana 10 жил өмнө
parent
commit
34d95d3cf2
1 өөрчлөгдсөн 6 нэмэгдсэн , 0 устгасан
  1. 6 0
      memcached/content.md

+ 6 - 0
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).