Skip to content

Detaching after attach should return exitcode 1 #3571

Closed

Description

@apostasie

Description

docker run -it --detach-keys=ctrl-a,ctrl-b --name what ghcr.io/stargz-containers/alpine:3.13-org
docker attach --detach-keys=ctrl-a,ctrl-b what; echo $?
/ # read escape sequence
1

nerdctl returns 0.

Steps to reproduce the issue

No response

Describe the results you received and expected

na

What version of nerdctl are you using?

main

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

Activity

  1. added a commit that references this issue on Oct 27, 2026
    3449f98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions