I am reading the spec of the run command and see the following:
-i : Keep STDIN open even if not attached
and
-a=[] : Attach to
STDIN,STDOUTand/orSTDERR
and
You can specify to which of the three standard streams (STDIN, STDOUT, STDERR) you’d like to connect
But I lack of understanding: what does it mean to "connect a container to a standard stream?" Can somebody explain? What does for example the -i parameter do?