mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-31 12:00:42 +00:00
356e6c2c627891fd89fbef320f2c4c34051c266e
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 <scribblemaniac@users.noreply.github.com>
Description
Languages
MDX
62.5%
JavaScript
22.8%
CSS
11.7%
Shell
2%
Makefile
1%