I would like a way to run an image in a container and delete it on shutdown just like the CLI docker run --rm command in the Docker Desktop UI
Which service(s) is this request for?
Docker Desktop
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
I am distributing software packaged in Docker containers to non-programmers who are unable/unwilling to use the command line. The containers need to be deleted after shutdown, and it is annoying to have to manually delete them every time it runs.
Are you currently working around the issue?
I am instructing the users to manually delete the containers every time.
Tell us about your request
I would like a way to run an image in a container and delete it on shutdown just like the CLI
docker run --rm
command in the Docker Desktop UIWhich service(s) is this request for?
Docker Desktop
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
I am distributing software packaged in Docker containers to non-programmers who are unable/unwilling to use the command line. The containers need to be deleted after shutdown, and it is annoying to have to manually delete them every time it runs.
Are you currently working around the issue?
I am instructing the users to manually delete the containers every time.
Additional context N/A