The doc says
docker attach: Attach local standard input, output, and error streams to a running container
From my understanding, a running container can have many running processes, including those started using docker exec
. So When using docker attach
, which process am I attaching to exactly?