docker run remove previous container code example
Example 1: docker remove all containers
docker rm $(docker ps -a -q)
Example 2: docker remove
cheat sheet
https://github.com/lifeeric/docker-cheat-sheet
docker rm $(docker ps -a -q)
cheat sheet
https://github.com/lifeeric/docker-cheat-sheet