Fix documented invocation of docker-compose
Using 'sudo -i' changes the working directory and so docker-compose doesn't find the config file. Use 'sudo -E' instead to preserve the environment variables in case http_proxy vars are needed. Change-Id: Ib1da4a5c42029f3c0cf20b003fad09bc418b62ad
This commit is contained in:
parent
b107af0c05
commit
2123261841
|
@ -62,7 +62,7 @@ docker-compose in order to start Zuul, Nodepool and Gerrit.
|
|||
.. code-block:: shell
|
||||
|
||||
cd zuul/doc/source/admin/examples
|
||||
sudo -i docker-compose up
|
||||
sudo -E docker-compose up
|
||||
|
||||
All of the services will be started with debug-level logging sent to
|
||||
the standard output of the terminal where docker-compose is running.
|
||||
|
|
Loading…
Reference in New Issue