Still use dockerpty for containers without an interactive tty (closes Issue #1)