docker see all running swarms code example Example 1: docker remov all running containers docker rm $(docker ps -aq) Example 2: docker check running containers docker ps -a