How to run springboot integration test via docker image

I have built a springboot application as a test tool, so all of the services in the app are just utilities serving for the integration test. So the integration tests are all what I want to run actually. I built the docker image and I want to do docker run the trigger the tests but not sure how can I run the integration test.

Option 1.
Shall I scan and collect all the tests to start point and then start the app. If so how can I collect all of the tests?

Option 2. Is there any way to directly do docker run the tests? If so how should I set the dockerfile, like the entry point?

Source: Docker Questions