mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
better rake command with --user instead
Use the `--user` argument instead of `sudo`
This commit is contained in:
parent
692fc1ad1d
commit
059302ea84
@ -1057,7 +1057,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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user