mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 04:31:28 +00: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user