Docker Community Forums

Share and learn in the Docker community.

Docker start with -a


What is a use case of the “attach”, -a, option of docker container start ?

It says “Attach STDOUT/STDERR and forward signals”, but I can’t find a use case.

But I understand -i, for “Attach container’s STDIN”.

Can I have an example of using “-a” ?

I use docker on ubuntu.