Adding support to attach container with stdin.
Adding example with tty and stdin connected.