Docker create (rebase of 6907)

Closes #6907

Ping @vieux @unclejack @crosbymichael
Okay, I'll try to remove it later myself.