|
|
@@ -25,12 +25,12 @@ store, such as a database.
|
|
|
|
|
|
# How to use this image
|
|
|
|
|
|
- docker run -it --rm --name my-memcache memcached
|
|
|
+ docker run --name my-memcache -d memcached
|
|
|
|
|
|
Start your memcached container with the above command and then you can connect
|
|
|
you app to it with standard linking:
|
|
|
|
|
|
- docker run -it --link my-memcache:memcache my-app-image
|
|
|
+ docker run --link my-memcache:memcache -d my-app-image
|
|
|
|
|
|
The memcached server information would then be available through the ENV
|
|
|
variables generated by the link as well as through DNS as `memcache` from
|