Persistent Storage
Apps are docker images that get started into containers. All data written to the container may be wiped on reboot or update.
Apps can store persistent information in the /data
directory. This directory is mounted into a persistent storage location on the Auterion device and can be used by apps to store their own data.
The author of the app is responsible for keeping the data stored in /data
up-to-date and to handle version update conflicts etc.
If your app is running on AuterionOS v3.5.2 or older, specifying any custom volumes to mount to your app will overwrite the default /data
mount! You will need to manually specify the /data
mount if you also need it mounted, as explained in the Native Docker Compose page.
Last updated