How do I save my enterprise docker deployment logs?

I’d like to start writing my docker container logs so I can understand the last set of events that occurred before a crash. Especially over the weekend when I’m not actively monitoring them.

Do you have a code snippet or instructions on how to do that for the enterprise deployment method?