-
Notifications
You must be signed in to change notification settings - Fork 718
Open
Labels
Description
What is the problem you're trying to solve
docker run -d --rm is useful for temporary stuff you want to run in the background, and have automatically cleaned up afterwards. I use it a lot.
Sadly, nerdctl does not currently support this use case:
% nerdctl run -d --rm some-background-tool:latest
FATA[0000] flags -d and --rm cannot be specified togetherDescribe the solution you'd like
I'd like nerdctl run to support the combination of --detach and --rm. The resulting container would run in the background, and be cleaned up after it finishes, or fails, or the machine is rebooted.
Additional context
No response