Skip to content
This repository was archived by the owner on Sep 19, 2021. It is now read-only.

Fix for change in Docker cli #21

Merged
merged 1 commit into from
Jun 22, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/babun-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function docker {
babun_docker_run_again=0
"$docker_bin" $@ 2>&1 | while read -r line; do
echo $line
if [[ $line == "cannot enable tty mode on non tty input" ]] ; then
if [[ $line == "cannot enable tty mode on non tty input" || $line == "the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'" ]] ; then
babun_docker_use_winpty=1
echo "export babun_docker_use_winpty=1" >> $babun_docker_env_vars_file
elif [[ $line == *"ConnectEx tcp"* || $line == *"connectex"* || $line == *"//./pipe/docker_engine:"* ]] ; then
Expand Down