nerdctl icon indicating copy to clipboard operation
nerdctl copied to clipboard

Detaching from a container started with `run --rm` unexpectedly stops and removes it

Open apostasie opened this issue 4 months ago • 2 comments

Description

$ nerdctl run --rm -ti --detach-keys=ctrl-a,ctrl-b --name what debian
root@cda8fd0a1e50:/# INFO[0007] read detach keys

$ nerdctl ps -a
CONTAINER ID    IMAGE    COMMAND    CREATED    STATUS    PORTS    NAMES

Compare with docker behavior.

Note that this does not happen if there is no --rm.

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

apostasie avatar Oct 18 '24 03:10 apostasie