Docker -i is allocating pseudo tty as well as Keeping STDIN open even if not attached

Hi ,

please found the output for

WARNING: IPv4 forwarding is disabled. Networking will not work.
Welcome! Please enter your name: Satyam

Hello and Welcome Satyam!
[root@docker_satyam ~]# docker run -t kodekloud/simple-prompt-docker
WARNING: IPv4 forwarding is disabled. Networking will not work.
Welcome! Please enter your name: SATYAM
^C
[root@docker_satyam ~]# docker run -ti kodekloud/simple-prompt-docker
WARNING: IPv4 forwarding is disabled. Networking will not work.
Welcome! Please enter your name: SATYAM

Hello and Welcome SATYAM!