Support flag for docker binary in testing

Closes #12224
Merge pull request #15 from cachedout/12224

Support flag for docker binary in testing