I am using docker-compose to start my service and switched to local driver by adding
logging:
driver: local
in all the services. It seems that after a system reboot, the logs are not available anymore if using docker logs <container>
command. Is this an expected behavior, if yes, is there a way to persist them across system reboot?