containerd / containerd/nerdctl

Detaching after attach should return exitcode 1

Open
#3,571 0 comments 0 reactions 0 assignees View on GitHub
kind/unconfirmed-bug-claim
Dominant language
Go
Stars
10.4k
Forks
826
Avg merge
1d 23h
Merged PRs (30d)
44

Description

### 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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.