foreground mode

Running a container with its output connected to your terminal until it exits.

In more detail

This is the default for docker run. You see output as it happens and Ctrl+C sends an interrupt signal. docker start -a attaches to an existing container the same way.

Related terms

Taught in

References