Docker runs on a Linux VM. And Linux don't run XCode or XCTestCase.
But I have a solution for you. I'm working on a Native Docker for Mac. It runs XCode images to build, compile and sign apps if you want.
I'm looking for beta testers. If you are interested ply to this message, I'll be glad to give you 30 days full access to MacDocker.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: