Whats the core difference between exec -ti vs -it vs -i vs -t

Hello There,

I was always wondering what’s the difference between

exec -ti vs -it vs -i vs -t

Thanks,
Deepak

  -i, --stdin=false: Pass stdin to the container
  -t, --tty=false: Stdin is a TTY

you can do single character cli flags concatenated together if using their default value in any order.
-it is the same as -ti / -i -t / --tty --stdin

1 Like