WIP: Attach works except that when the command terminates it hangs.

Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)