mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 02:02:14 +00:00
Fixes #971 Changes in this pull request: - Remove the module - Update `build.sbt` - Update docs - Update docker things - Update configs everywhere
31 lines
827 B
Bash
Executable File
31 lines
827 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# The local vinyldns setup used for testing relies on the
|
|
# following docker images:
|
|
# mysql:5.7
|
|
# s12v/elasticmq:0.13.8
|
|
# vinyldns/bind9
|
|
# vinyldns/api
|
|
# vinyldns/portal
|
|
# rroemhild/test-openldap
|
|
# localstack/localstack
|
|
#
|
|
# This script with kill and remove containers associated
|
|
# with these names and/or tags
|
|
#
|
|
# Note: this will not remove the actual images from your
|
|
# machine, just the running containers
|
|
|
|
IDS=$(docker ps -a | grep -e 'mysql:5.7' -e 's12v/elasticmq:0.13.8' -e 'vinyldns' -e 'flaviovs/mock-smtp' -e 'localstack/localstack' -e 'rroemhild/test-openldap' | awk '{print $1}')
|
|
|
|
echo "killing..."
|
|
echo $(echo "$IDS" | xargs -I {} docker kill {})
|
|
echo
|
|
|
|
echo "removing..."
|
|
echo $(echo "$IDS" | xargs -I {} docker rm -v {})
|
|
echo
|
|
|
|
echo "pruning network..."
|
|
docker network prune -f
|