diff --git a/memcached/README.md b/memcached/README.md index b37e969c9..b9fa74194 100644 --- a/memcached/README.md +++ b/memcached/README.md @@ -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 diff --git a/memcached/content.md b/memcached/content.md index 549e4a9c6..9515f0027 100644 --- a/memcached/content.md +++ b/memcached/content.md @@ -15,12 +15,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