gitea/docs/content/installation
Giteabot 9f2a1a55e6
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 <scribblemaniac@users.noreply.github.com>
2024-04-03 01:44:13 -04:00
..
_index.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
_index.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
comparison.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
comparison.zh-cn.md Update zh-cn documentation (#26406) 2023-08-14 01:35:49 -04:00
database-preparation.en-us.md Improve 1.21 document for Database Preparation (#28643) (#28644) 2023-12-29 13:05:12 +08:00
database-preparation.zh-cn.md Enable markdownlint `no-duplicate-header` (#27500) (#27506) 2023-10-07 21:41:41 +08:00
from-binary.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
from-binary.zh-cn.md Fix links in docs (#28302) (#28418) 2023-12-11 22:53:59 +08:00
from-package.en-us.md Update brew installation documentation since gitea moved to brew core package (#27070) 2023-09-15 06:14:24 +00:00
from-package.zh-cn.md Update brew installation documentation since gitea moved to brew core package (#27070) 2023-09-15 06:14:24 +00:00
from-source.en-us.md Rework spellchecking, add lint-spell (#29112) 2024-02-16 02:42:26 +00:00
from-source.zh-cn.md Rework spellchecking, add lint-spell (#29112) 2024-02-16 02:42:26 +00:00
on-cloud-provider.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
on-cloud-provider.zh-cn.md Update Chinese documents (#26139) 2023-07-26 07:28:44 +00:00
on-kubernetes.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
on-kubernetes.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
run-as-service-in-ubuntu.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
run-as-service-in-ubuntu.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
upgrade-from-gitea.en-us.md Update upgrade documentation to add a check for deprecated configurations (#26451) 2023-08-11 13:53:23 +08:00
upgrade-from-gitea.zh-cn.md Update upgrade documentation to add a check for deprecated configurations (#26451) 2023-08-11 13:53:23 +08:00
upgrade-from-gogs.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
upgrade-from-gogs.zh-cn.md Update zh-cn documentation (#26406) 2023-08-14 01:35:49 -04:00
upgrade-from-gogs.zh-tw.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
windows-service.en-us.md Add a documentation note for Windows Service (#26938) 2023-09-06 11:14:12 +00:00
windows-service.zh-cn.md Update zh-cn documentation (#26406) 2023-08-14 01:35:49 -04:00
with-docker-rootless.en-us.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
with-docker-rootless.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
with-docker.en-us.md Add -u git to docs when using docker exec with root installation (#29314) (#30258) 2024-04-03 01:44:13 -04:00
with-docker.zh-cn.md Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00