Skip to content

Instantly share code, notes, and snippets.

@dblooman
Created January 8, 2015 14:09
Show Gist options
  • Save dblooman/1fde8e1d7bb0af3ff4e5 to your computer and use it in GitHub Desktop.
Save dblooman/1fde8e1d7bb0af3ff4e5 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "stopping elasticsearch"
docker kill bbcnews-elasticsearch >/dev/null 2>&1
docker rm bbcnews-elasticsearch >/dev/null 2>&1
echo "stopping carbon"
docker kill bbcnews-carbon >/dev/null 2>&1
docker rm bbcnews-carbon >/dev/null 2>&1
echo "stopping graphite"
docker kill bbcnews-graphite >/dev/null 2>&1
docker rm bbcnews-graphite >/dev/null 2>&1
echo "stopping grafana"
docker kill bbcnews-grafana >/dev/null 2>&1
docker rm bbcnews-grafana >/dev/null 2>&1
echo "stopping nginx"
docker kill bbcnews-nginx >/dev/null 2>&1
docker rm bbcnews-nginx >/dev/null 2>&1
echo "Everything is stopped."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment