-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Container detach newlines #7955
Conversation
libpod/image/pull.go
Outdated
@@ -333,6 +333,8 @@ func (ir *Runtime) doPullImage(ctx context.Context, sc *types.SystemContext, goa | |||
copyOptions.SourceCtx.SystemRegistriesConfPath = systemRegistriesConfPath // FIXME: Set this more globally. Probably no reason not to have it in every types.SystemContext, and to compute the value just once in one place. | |||
// Print the following statement only when pulling from a docker or atomic registry | |||
if writer != nil && (imageInfo.srcRef.Transport().Name() == DockerTransport || imageInfo.srcRef.Transport().Name() == AtomicTransport) { | |||
io.WriteString(writer, fmt.Sprintf("Got Here")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assuming this was a debug message that should have been removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops! let me clean up that commit
Signed-off-by: Parker Van Roy <[email protected]>
LGTM |
LGTM, I prefer this over #7953 |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mheon, ParkerVR The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@ParkerVR I don't get a newline if I detach from
|
/lgtm |
for #7751
alternative to #7953
this is not Docker compatible, which strangely results differently on 'docker run -it ' and 'docker attach '
This prints a \n on all container detaches to avoid the issues brought up in 7751
I believe this is a more logical solution although it is not the exact Docker activity