juan francisco lencina
Preguntahola, alguien me pude ayudar? yo tengo windwos, e instale git bash para manejar la terminal, ahor areselta que cuando quiero hacer docker run -it … me salta el siguiente error.
"the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty"como puedo hacer para no tener que escribir todo este comando para correr un contenedor y habrir la terminal?
winpty -Xallow-non-tty docker exec -it

David Rodriguez
hola
Si estas usando Git Bash creo que necesariamente se debe usar winpty. Una alternativa que se ocurre es crear un alias con una o 2 letras para winpty asi ya no tienes que escribir todo.