Pārlūkot izejas kodu

Swap memcached docker run flags

Joe Ferguson 11 gadi atpakaļ
vecāks
revīzija
b838216764
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 2 2
      memcached/README.md
  2. 2 2
      memcached/content.md

+ 2 - 2
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

+ 2 - 2
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