Docker Community Forums

Share and learn in the Docker community.

Docker for OS X no interactive terminal

docker
beta

(Chris Kinsman) #1

Expected behavior

docker run -t ubuntu:14.04 /bin/bash
ls

Expected: directory listing

Actual behavior

ls hangs. Not just ls. Any command. Almost as though STDIN/STDOUT didn’t get piped correctly.

Information

Diagnostic Id: AEFF2B00-3419-4168-9C8E-27D527DB8325
OSX 10.11.5

Steps to reproduce the behavior

  1. docker run -t ubuntu:14.04 /bin/bash
  2. ls

(Bryce Ryan) #2

You might consider adding the -i (interactive) flag to your command line, e.g.

docker run -it ubuntu:14.04 /bin/bash


(Chris Kinsman) #3

Thanks! Totally missed that. New to Docker. Thanks for the hand.