#!/bin/bash docker stack rm stack lxc-stop --name worker1; lxc-stop --name worker2 rm -rf /var/lib/lxc/worker* docker node rm worker1; docker node rm worker2