Docker create (rebase of 6907)

Closes #6907

Ping @vieux @unclejack @crosbymichael
Why is this change in here?