summaryrefslogtreecommitdiffstats
path: root/docker/remove_all_containers.sh
blob: 7327f91e6dc207b9e2455bb6e741dac980f14d06 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

ids=$(docker ps -aq)

# Stop all containers
docker stop $ids

# Delete all containers
docker rm $ids