We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3bc379 commit 38462dcCopy full SHA for 38462dc
scripts/python/api/tnode.py
@@ -105,7 +105,7 @@ def cleanupDockerNetwork(self):
105
106
# Remove all containers on this node
107
def cleanupContainers(self):
108
- self.runCmd("docker ps -a | grep alpine | awk '{print $1}' | xargs -r docker rm -fv ")
+ self.runCmd("docker ps -a | grep -v swarm | awk '{print $1}' | xargs -r docker rm -fv ")
109
110
# Cleanup all state created by netplugin
111
def cleanupSlave(self):
0 commit comments