Prepare SQLite bind mount permissions
This commit is contained in:
@@ -80,6 +80,11 @@ container's network namespace.
|
||||
`--sqlite` may point to a SQLite database file or to a directory. When it points
|
||||
to a directory, the scripts use `kosync.sqlite3` inside that directory.
|
||||
|
||||
When run as root, the scripts chown the SQLite directory and existing database
|
||||
file to UID/GID `10001`, matching the published image's `kosync` user. Override
|
||||
with `KOSYNC_UID` and `KOSYNC_GID` only if you run the container with a different
|
||||
runtime user.
|
||||
|
||||
```sh
|
||||
scripts/import-from-old-redis.sh \
|
||||
--old-container kosync \
|
||||
|
||||
Reference in New Issue
Block a user