cli
cli copied to clipboard
Feature: docker rm --all --force Command
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