docker / roadmap

Welcome to the Public Roadmap for All Things Docker! We welcome your ideas.
https://github.com/docker/roadmap/projects/1
Creative Commons Zero v1.0 Universal
1.45k stars 244 forks source link

Equivalent to `docker run --rm` in Docker Desktop #648

Open eRedekopp opened 1 month ago

eRedekopp commented 1 month ago

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 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.

Additional context N/A