summaryrefslogtreecommitdiffstats
path: root/docker/remove_hc2vpp_containers.sh
blob: c1fbf705a1421808ddb59b45e95bb3275c9a472b (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

ids=$(docker ps -aq --filter ancestor=hc2vpp)

# Stop all hc2vpp based containers
echo "Stopping containers: $ids"
docker stop $ids

# Delete all hc2vpp based containers
echo "Removing containers: $ids"
docker rm $ids