labgrid-project / labgrid

Embedded systems control library for development, testing and installation
https://labgrid.readthedocs.io/
Other
330 stars 174 forks source link

Docker: labgrid-exporter needs adjustement for /var/cache/labgrid #393

Open Emantor opened 5 years ago

Emantor commented 5 years ago

Labgrid now stores managedfiles inside /var/cache/labgrid. The container Dockerfile should probably create the necessary directory or use the example tmpfiles configuration file. cc/ @esben

esben commented 5 years ago

Would it make sense to expose it as a volume, so users can have it persist between containers?

Emantor commented 5 years ago

Yep, thats a good idea. The user should also be notified that the volume needs to be cleaned up from time to time.

jluebbe commented 5 years ago

How often do you expect to restart the container? For the systemd-tempfiles entry we recommend two days, as we don't think the images are useful that long in most cases.