Giteabotandscribblemaniac 356e6c2c62 Add -u git to docs when using docker exec with root installation (#29314) (#30258)
Backport #29314 by @scribblemaniac

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.

Co-authored-by: scribblemaniac <[email protected]>
2024-04-03 01:44:13 -04:00
2023-07-26 04:53:13 +00:00
2023-07-26 04:53:13 +00:00
2023-07-26 04:53:13 +00:00
2023-07-26 04:53:13 +00:00
2023-07-26 04:53:13 +00:00
2023-07-26 04:53:13 +00:00
2023-08-12 00:49:23 +00:00
2023-07-26 04:53:13 +00:00
2023-07-26 04:53:13 +00:00
2023-07-26 04:53:13 +00:00
2023-07-26 04:53:13 +00:00
2023-07-26 04:53:13 +00:00
2023-07-26 04:53:13 +00:00
2023-07-26 04:53:13 +00:00
2023-07-26 04:53:13 +00:00
2023-07-26 04:53:13 +00:00
S
Description
No description provided
Apache-2.0
9.6 MiB
Languages
TypeScript 42.4%
MDX 30.9%
Astro 8.1%
JavaScript 6.4%
Shell 6%
Other 6.2%