Merge pull request #856 from pierreozoux/patch-2

better rake command with --user instead
This commit is contained in:
Niclas Mietz 2016-09-10 16:27:29 +02:00 committed by GitHub
commit 8abccd6b0b

View File

@ -1065,7 +1065,7 @@ docker run --name gitlab -it --rm [OPTIONS] \
You can also use `docker exec` to run raketasks on running gitlab instance. For example,
```bash
docker exec -it gitlab sudo -HEu git bundle exec rake gitlab:env:info RAILS_ENV=production
docker exec --user git -it gitlab bundle exec rake gitlab:env:info RAILS_ENV=production
```
Similarly, to import bare repositories into GitLab project instance