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:
Tobias Henkel 2019-01-12 21:51:12 +01:00
parent b107af0c05
commit 2123261841
No known key found for this signature in database
GPG Key ID: 03750DEC158E5FA2
1 changed files with 1 additions and 1 deletions

View File

@ -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.