Add note for Docker users running console

Signed-off-by: Estelle Poulin <dev@inspiredby.es>
This commit is contained in:
Estelle Poulin 2019-01-03 11:14:34 -05:00
parent 68952306aa
commit b149c047b7
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ try {
echo "Current user: " . $user['name'] . PHP_EOL; echo "Current user: " . $user['name'] . PHP_EOL;
echo "Owner of config.php: " . $configUser['name'] . PHP_EOL; echo "Owner of config.php: " . $configUser['name'] . PHP_EOL;
echo "Try adding 'sudo -u " . $configUser['name'] . " ' to the beginning of the command (without the single quotes)" . PHP_EOL; echo "Try adding 'sudo -u " . $configUser['name'] . " ' to the beginning of the command (without the single quotes)" . PHP_EOL;
echo "If running with 'docker exec' try adding the option '-u " . $configUser['name'] . "' to the docker command (without the single quotes)" . PHP_EOL;
exit(1); exit(1);
} }