summaryrefslogtreecommitdiffstats
path: root/deliveries/new_stop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deliveries/new_stop.sh')
-rwxr-xr-xdeliveries/new_stop.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/deliveries/new_stop.sh b/deliveries/new_stop.sh
index 6a1de1ad..6c4bf7a2 100755
--- a/deliveries/new_stop.sh
+++ b/deliveries/new_stop.sh
@@ -1,2 +1,9 @@
-docker stop 1610-1
-docker rm 1610-1
+#!/bin/sh
+
+# Establish environment variables
+source $(dirname $0)/os_settings.sh
+
+echo "Stopping docker container named ${CONTNAME}"
+docker stop ${CONTNAME}
+echo "Removing docker container named ${CONTNAME}"
+docker rm ${CONTNAME}