mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-05 15:18:57 +01:00
9a787dd105
The previous persistent folder check worked by checking if a file exists. If you used a bind-mount, then this file is not there. But when using a docker/podman volume those files are copied, and caused the container to not start. This change checks the `/proc/self/mountinfo` for a specific patern to see if the data folder is persistent or not. Fixes #2622 |
||
---|---|---|
.. | ||
amd64 | ||
arm64 | ||
armv6 | ||
armv7 | ||
Dockerfile.buildx | ||
Dockerfile.j2 | ||
healthcheck.sh | ||
Makefile | ||
README.md | ||
render_template | ||
start.sh |
The arch-specific directory names follow the arch identifiers used by the Docker official images: