I’m trying to test drive Grist using the container as described in the “Self-hosted Grist” page. When I run the container, it errors out:
docker run -p 8484:8484 -v ~/grist:/persist -e GRIST_SESSION_SECRET=xxxxx -e GRIST_DEFAULT_EMAIL=your-email@example.com -it gristlabs/grist
find: ‘/persist’: Permission denied
chown: changing ownership of ‘/persist’: Permission denied
The doc states: “A volume (or mount, or directory) needs to be available at location /persist within the container. It can be initially empty - Grist will populate it. Without this volume, nothing you do will be stored long-term.”
I’m not a docker expert, so I need help with this. I do have a directory, $HOME/grist/persist, owned by me. Does the owner of this directory need to be something else?
I can run the container with “run -p 8484:8484 gristlabs/grist:latest”, I go through the setup process and specify a local filesystem, but the data does not survive container restarts.
OS is Fedora 42, KDE desktop.