summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/container/remove6
-rwxr-xr-xlib/container/restart6
-rwxr-xr-xlib/container/start6
-rwxr-xr-xlib/container/stop6
4 files changed, 24 insertions, 0 deletions
diff --git a/lib/container/remove b/lib/container/remove
index 6244233..7b59ed1 100755
--- a/lib/container/remove
+++ b/lib/container/remove
@@ -125,6 +125,12 @@ case "${NAME}" in
for NAME in ${NAMES}
do
+ case "${VERBOSE}" in
+ true)
+ echo "Removing container ${NAME}..."
+ ;;
+ esac
+
container remove --name ${NAME} ${OPTIONS_ALL} || true
done
diff --git a/lib/container/restart b/lib/container/restart
index bdce06a..3ed9968 100755
--- a/lib/container/restart
+++ b/lib/container/restart
@@ -82,6 +82,12 @@ case "${NAME}" in
for NAME in ${NAMES}
do
+ case "${VERBOSE}" in
+ true)
+ echo "Restarting container ${NAME}..."
+ ;;
+ esac
+
container restart --name ${NAME} || true
done
diff --git a/lib/container/start b/lib/container/start
index 31ed47e..d73e328 100755
--- a/lib/container/start
+++ b/lib/container/start
@@ -106,6 +106,12 @@ case "${NAME}" in
for NAME in ${NAMES}
do
+ case "${VERBOSE}" in
+ true)
+ echo "Starting container ${NAME}..."
+ ;;
+ esac
+
container start --name ${NAME} ${OPTIONS_ALL} || true
done
diff --git a/lib/container/stop b/lib/container/stop
index 750f367..a5f0065 100755
--- a/lib/container/stop
+++ b/lib/container/stop
@@ -121,6 +121,12 @@ case "${NAME}" in
for NAME in ${NAMES}
do
+ case "${VERBOSE}" in
+ true)
+ echo "Stopping container ${NAME}..."
+ ;;
+ esac
+
container stop --name ${NAME} ${OPTIONS_ALL} || true
done