gitea/docs
Giteabot f8cee25ab5
Add -u git to docs when using docker exec with root installation (#29314) (#30259)
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>
2024-04-03 01:44:26 -04:00
..
content Add -u git to docs when using docker exec with root installation (#29314) (#30259) 2024-04-03 01:44:26 -04:00
static Fix doc img path in profile readme (#28994) 2024-01-31 21:32:17 +08:00
.gitignore Support Issue forms and PR forms (#20987) 2022-09-02 15:58:49 +08:00
LICENSE Import docs into main repository (#2874) 2017-11-26 23:44:32 +02:00
README.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
README_ZH.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00

README.md

Gitea: Docs

Join the chat at https://img.shields.io/discord/322538954119184384.svg

These docs are ingested by our docs repo.

Authors

License

This project is under the Apache-2.0 License. See the LICENSE file for the full license text.

Copyright (c) 2016 The Gitea Authors <https://gitea.io>