Stop all running containers:
docker container stop $(docker container ls -aq)
Show running containers:
docker container ls -a
Remove a particular container by ID (visible from the list command above):
docker container rm cc3f2ff51cab
Prune everything:
docker system prune
Reference from link: https://linuxize.com/post/how-to-remove-docker-images-containers-volumes-and-networks/