How to get service container logs (stdout/stderr) after CI/CD job

I want to test a container image with gitlab CI/CD. The image has been started as a service container. The job runs a number of (http) queries against the service container. After the job is done, I would like to see the service container logs, that have been generated through the complete job. Is this somehow possible?