|
@@ -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`.
|
|
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).
|
|
For infomation on configuring your memcached server, see the extensive [wiki](https://code.google.com/p/memcached/wiki/NewStart).
|