Update podman.md (#2176)

* Update podman.md to include --userns=keep-id details
This commit is contained in:
abraunegg 2022-10-07 19:41:30 +11:00 committed by GitHub
parent eaf097f7b0
commit da967b06bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -67,6 +67,8 @@ podman run -it --name onedrive --user "${ONEDRIVE_UID}:${ONEDRIVE_GID}" \
**If you plan to use podmans built in auto-updating of container images described in step 5, you must pass an additional argument to set a label during the first run.**
**Important:** In some scenarios, 'podman' sets the configuration and data directories to a different UID & GID as specified. To resolve this situation, you must run 'podman' with the `--userns=keep-id` flag to ensure 'podman' uses the UID and GID as specified.
The run command would look instead look like as follows:
```
podman run -it --name onedrive --user "${ONEDRIVE_UID}:${ONEDRIVE_GID}" \

View file

@ -28,6 +28,7 @@
+ [skip_dotfiles](#skip_dotfiles)
+ [monitor_interval](#monitor_interval)
+ [monitor_fullscan_frequency](#monitor_fullscan_frequency)
+ [monitor_log_frequency](#monitor_log_frequency)
+ [min_notify_changes](#min_notify_changes)
+ [operation_timeout](#operation_timeout)
* [Configuring the client for 'single tenant application' use](#configuring-the-client-for-single-tenant-application-use)