Docker create (rebase of 6907)

Closes #6907

Ping @vieux @unclejack @crosbymichael
This is unfortunately everywhere in the test suite, so I'll leave it out.