Docker create (rebase of 6907)

Closes #6907

Ping @vieux @unclejack @crosbymichael
should be "set both"