Ability Store Docker Container Logs

We use rancher with spot instances for Cron Script and we would like to keep the logs of the container on rancher is this possible. I know I can live logs when the container runs but as soon as the container stops I can’t access those.