Created
June 14, 2017 19:04
-
-
Save ilackarms/6c595600dc93efe454aad41fb5f2e038 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x | |
sudo pkill -x openshift | |
docker ps | awk 'index($NF,"k8s_")==1 { print $1 }' | xargs -l -r docker stop | |
mount | grep "openshift.local.volumes" | awk '{ print $3}' | xargs -l -r sudo umount | |
sudo rm -rf openshift.local.* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment