docker remove not running containers code example
Example 1: docker remove not running containers
docker container rm $(docker container ls –aq)
Example 2: how to remove a docker container
docker container rm [container id]
Example 3: docker remove
cheat sheet
https://github.com/lifeeric/docker-cheat-sheet