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)
This commit is contained in:
parent
d73d3b03e4
commit
c1dfc63845
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue