Nuke!
This commit is contained in:
12
templates/simple-object-storage/nuke.sh
Normal file
12
templates/simple-object-storage/nuke.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# NUKE SCRIPT
|
||||
# Gets run after uninstall.sh
|
||||
|
||||
source "$(dirname "$0")/_common.sh"
|
||||
check_required_env_vars "CONTAINER_NAME" "VOLUME_NAME"
|
||||
|
||||
docker volume rm $VOLUME_NAME || die "Failed to remove volume ${VOLUME_NAME}"
|
||||
|
||||
echo "Nuking of ${CONTAINER_NAME} complete."
|
||||
|
Reference in New Issue
Block a user