Set the raw mode only for tty enabled containers