mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Reworded description of the environment variables
Removed the "test now..." b/c the code example is only about inspection of env-variables. Test follows in the next section. Docker-DCO-1.1-Signed-off-by: Matthias Kühnle <git.nivoc@neverbox.com> (github: float64)
This commit is contained in:
parent
8a3cb0c65e
commit
d73d3b03e4
1 changed files with 2 additions and 3 deletions
|
@ -67,9 +67,8 @@ Once inside our freshly created container we need to install Redis to get the
|
|||
apt-get -y install redis-server
|
||||
service redis-server stop
|
||||
|
||||
Now we can test the connection. Firstly, let's look at the available environmental
|
||||
variables in our web application container that Docker has setup for us. We can use these to get the IP and port
|
||||
of our ``redis`` container.
|
||||
Docker sets some environment variables in our web application container.
|
||||
Let's inspect them with the ``env`` command.
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue