If you can understand Java, I suggest you read this: Integration/Functional Testing with JUnit and Solace — Solace Community
Otherwise, the idea is simple,
(1) Write some code/scripts to instruct Docker to summon a locally running Solace Broker, and destroy it after you finished with it.
(2) Integrate such steps into your automatic testing work flow.