0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-12-14 17:43:46 +01:00
bitwarden_rs/docker/armv6
BlackDex 9a787dd105
Fix persistent folder check within containers
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
2022-07-20 13:29:39 +02:00
..
Dockerfile Fix persistent folder check within containers 2022-07-20 13:29:39 +02:00
Dockerfile.alpine Fix persistent folder check within containers 2022-07-20 13:29:39 +02:00
Dockerfile.buildx Fix persistent folder check within containers 2022-07-20 13:29:39 +02:00
Dockerfile.buildx.alpine Fix persistent folder check within containers 2022-07-20 13:29:39 +02:00