cli icon indicating copy to clipboard operation
cli copied to clipboard

Feature: docker rm --all --force Command

Open schuerg opened this issue 4 months ago • 2 comments

Description

I’d like to suggest adding an -a, --all option to the docker rm command. With this we could do commands like docker rm --all --force. It would allow us to remove all containers, both running and stopped, with a single command. Currently, we have to stop them first and then remove them, which feels a bit clunky.

Podman has this functionality built in. Adding this option to Docker would streamline the process and improve the user experience.

References

  • https://docs.docker.com/reference/cli/docker/container/rm/
  • https://docs.podman.io/en/latest/markdown/podman-rm.1.html

schuerg avatar Sep 25 '24 11:09 schuerg