Stop and Remove All Docker Containers

Command remove all docker containers:

docker stop '$(docker ps -a -q)' && docker rm '$(docker ps -a -q)'

docker ps -a -q lists all container IDs