#!/bin/sh # 引入公用方法 . ./funs.sh container=$1 if [ -z "${container}" ]; then container="album" fi # ===== 卸载machete ===== goodbye echo "" echo "正在停止machete容器..." docker stop "machete_${container}" echo "正在删除machete容器..." docker rm "machete_${container}" echo "正在删除桌面快捷方式..." deleteShortcuts "${container}" echo "${container}卸载完成" echo ""