dotcloud/docker — pull request #4882 by vieux (2014-03-27 19:21:54+00:00)
Title: Fix merge issue tty

fix #4857
If you run a container with `-t` and then commit it. If you start to run an another container based on this image without `-t` you'll get an error, because the client will expect a `no-tty` communication, but the container will inherit from the image `tty`

One solution (this PR) is to not merge the -i and -tty stuff from parent.

Another solution would be to fall back to display a warning and prevent the run if the client/deamon aren't in the same mode.

/cc @creack @shykes @crosbymichael