Created
October 21, 2015 15:10
-
-
Save cusspvz/6cb10495a64ba27ed5cf to your computer and use it in GitHub Desktop.
unregister rancher-agent
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 | |
sudo docker stop $(sudo docker ps -q); | |
sudo docker rm $(sudo docker ps -a -q); | |
sudo rm -fR /var/lib/rancher/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment