nerdctl
nerdctl copied to clipboard
Detaching from a container started with `run --rm` unexpectedly stops and removes it
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