We have an application on several containers. One container is launched with the following configuration:
service-broadcaster: container_name: service-broadcaster image: 'IMAGE' network_mode: host privileged: true environment: - DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket labels: io.balena.features.dbus: '1' io.balena.features.supervisor-api: '1'
The service logs to
When I reboot the device several times. The logs of previous runs seem to be present:
-rw-r--r-- 1 root root 997 Dec 20 10:20 service_broadcaster_2019-12-20-10-20-30.log -rw-r--r-- 1 root root 2.4K Dec 20 10:25 service_broadcaster_2019-12-20-10-21-38.log -rw-r--r-- 1 root root 2.4K Dec 20 10:27 service_broadcaster_2019-12-20-10-25-47.log -rw-r--r-- 1 root root 1.4K Dec 20 10:28 service_broadcaster_2019-12-20-10-27-58.log
Why are the logs of previous runs present? Isn’t the container supposed to be non-persistent?