#!/bin/bash if [[ -n $(docker ps -q -f "name=^aspect-lock$") ]];then echo "has start aspect-lock" docker rm aspect-lock else echo "not start aspect-lock" fi