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

The podman start --attach command should not print ID #7068

Merged

Commits on Jul 23, 2020

  1. The podman start --attach command should not print ID

    Somewhere in the Podman v2 rewrite, we allowed
    `podman start --attach` to print the container ID of the started
    container after exiting from the attach session (via detach key
    or the container exiting naturally). We should never print the ID
    when `--attach` is given, which makes the fix simple - make the
    print statement conditional on `--attach` not being present.
    
    Wierdly, this only happened with `--interactive` was given to
    `podman start`. I don't know why that is, but this resolves the
    issue without having to dig any deeper, so I'm content.
    
    Fixes containers#7055
    
    Signed-off-by: Matthew Heon <matthew.heon@pm.me>
    mheon committed Jul 23, 2020
    Configuration menu
    Copy the full SHA
    099649a View commit details
    Browse the repository at this point in the history