diff --git a/README.md b/README.md index 4ed9fd89..756ec984 100644 --- a/README.md +++ b/README.md @@ -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