浏览代码

Updated environment description

.. to make it even more clear that this env variables are there because of the --link option.

Docker-DCO-1.1-Signed-off-by: Matthias Kühnle <git.nivoc@neverbox.com> (github: float64)
Matthias Kühnle 11 年之前
父节点
当前提交
c1dfc63845
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      docs/sources/examples/running_redis_service.rst

+ 2 - 1
docs/sources/examples/running_redis_service.rst

@@ -67,7 +67,8 @@ Once inside our freshly created container we need to install Redis to get the
     apt-get -y install redis-server
     apt-get -y install redis-server
     service redis-server stop
     service redis-server stop
 
 
-Docker sets some environment variables in our web application container. 
+Since we used the ``--link redis:db`` option before. Docker has created some 
+environment variables in our web application container. 
 Let's inspect them with the ``env`` command.
 Let's inspect them with the ``env`` command.
 
 
 .. code-block:: bash
 .. code-block:: bash