Description
container Poststop hook is not triggered when container exists: meta.json is not removed when the container process exits.
Steps to reproduce the issue
- nerdctl run --name toto alpine
- nerdctl kill toto
/var/lib/nerdctl/<ADDRHASH>/etchosts/default/<ID>/meta.json is still present
Describe the results you received and expected
/var/lib/nerdctl/<ADDRHASH>/etchosts/<NS>/<ID>/meta.json should be removed when container with id ID exists
What version of nerdctl are you using?
latest
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
No response
Description
container
Poststophook is not triggered when container exists:meta.jsonis not removed when the container process exits.Steps to reproduce the issue
/var/lib/nerdctl/<ADDRHASH>/etchosts/default/<ID>/meta.jsonis still presentDescribe the results you received and expected
/var/lib/nerdctl/<ADDRHASH>/etchosts/<NS>/<ID>/meta.jsonshould be removed when container with idIDexistsWhat version of nerdctl are you using?
latest
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
None
Host information
No response