Confused about Docker -t option to Allocate a pseudo-TTY

What exactly does this option do? I’ve been reading a lot on TTY and I’m still confused. I played around without having the -t and just -i and it seems like programs that expect user input throw an error without the -t. Why is it important for pseudo-TTY to be enabled?

9 Answers
9

Leave a Comment