Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: clarify docker attach #22611

Merged
merged 1 commit into from May 9, 2016
Merged

docs: clarify docker attach #22611

merged 1 commit into from May 9, 2016

Conversation

tonistiigi
Copy link
Member

Follow-up for #22502

cc @aaronlehmann @cpuguy83

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

@vdemeester
Copy link
Member

LGTM 👍

@@ -39,6 +39,14 @@ using `CTRL-p CTRL-q` key sequence.
It is forbidden to redirect the standard input of a `docker attach` command
while attaching to a tty-enabled container (i.e.: launched with `-t`).

While attach stream is connected to container's stdio, docker uses ~1MB memory
buffer to maximize the throughput of the application. If this buffer is reached
the speed of the API connection will start to have an effect the application
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/the/on the/

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@thaJeztah
Copy link
Member

one nit, but LGTM otherwise

@@ -39,6 +39,14 @@ using `CTRL-p CTRL-q` key sequence.
It is forbidden to redirect the standard input of a `docker attach` command
while attaching to a tty-enabled container (i.e.: launched with `-t`).

While attach stream is connected to container's stdio, docker uses ~1MB memory
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/While attach stream/While an attach stream/?

s/docker uses ~1MB memory buffer/docker uses a ~1MB memory buffer/?

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@aaronlehmann
Copy link
Contributor

LGTM

@relistan
Copy link

relistan commented May 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants