diff options
author | scribblemaniac <scribblemaniac@users.noreply.github.com> | 2024-04-02 19:47:13 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-02 21:47:13 -0400 |
commit | b28d3a4218b1338ce6f683d11993081b722bae0a (patch) | |
tree | 6fcac351b4c44d6b92d9e6a173ea4e1979779b61 /modules/web | |
parent | 6f4e2e79ffd1a244e9c266db19840a5bfda09119 (diff) | |
download | gitea-b28d3a4218b1338ce6f683d11993081b722bae0a.tar.gz gitea-b28d3a4218b1338ce6f683d11993081b722bae0a.zip |
Add -u git to docs when using docker exec with root installation (#29314)
This fixes a minor issue in the documentation for SSH Container
Passthrough for non-rootless installs. The non-rootless Dockerfile and
docker-compose do not set `USER`/`user` instructions so `docker exec`
will run as root by default. While running as root, gitea commands will
refuse to execute, breaking these approaches. For containers built with
the rootless instructions, `docker exec` will run as git by default so
this is not necessary in that case.
This issue was already discussed in #19065, but it does not appear this
part of the issue was ever added to the documentation.
Diffstat (limited to 'modules/web')
0 files changed, 0 insertions, 0 deletions