Swap memcached docker run flags

This commit is contained in:
Joe Ferguson 2014-12-31 16:01:01 -08:00
parent 8f37a500fc
commit b838216764
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -15,12 +15,12 @@ store, such as a database.
# How to use this image # 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 Start your memcached container with the above command and then you can connect
you app to it with standard linking: 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 The memcached server information would then be available through the ENV
variables generated by the link as well as through DNS as `memcache` from variables generated by the link as well as through DNS as `memcache` from