Are you searching for how to stop and remove all docker containers? Below are list of commands which can help.

To stop all containers in one go, run below command-

$ docker stop $(docker ps -a -q)

And now to remove all docker containers run below command-

$ docker rm $(docker ps -a -q)