Docker create (rebase of 6907)

Closes #6907

Ping @vieux @unclejack @crosbymichael
TTY