labgrid icon indicating copy to clipboard operation
labgrid copied to clipboard

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

Open Emantor opened this issue 6 years ago • 3 comments

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

Emantor avatar Mar 05 '19 08:03 Emantor

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

esben avatar Mar 05 '19 16:03 esben

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

Emantor avatar Mar 05 '19 17:03 Emantor

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.

jluebbe avatar Mar 06 '19 08:03 jluebbe