File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
docs/reference/commandline Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,15 @@ using `CTRL-p CTRL-q` key sequence.
3939It is forbidden to redirect the standard input of a ` docker attach ` command
4040while attaching to a tty-enabled container (i.e.: launched with ` -t ` ).
4141
42+ While a client is connected to container's stdio using ` docker attach ` , Docker
43+ uses a ~ 1MB memory buffer to maximize the throughput of the application. If
44+ this buffer is filled, the speed of the API connection will start to have an
45+ effect on the process output writing speed. This is similar to other
46+ applications like SSH. Because of this, it is not recommended to run
47+ performance critical applications that generate a lot of output in the
48+ foreground over a slow client connection. Instead, users should use the
49+ ` docker logs ` command to get access to the logs.
50+
4251
4352## Override the detach sequence
4453
You can’t perform that action at this time.
0 commit comments