diff docker/libervia_cont.sh @ 101:83dacf8fda47

docker (libervia_cont): added -v argument in help message for removing sat_data in restore command
author Goffi <goffi@goffi.org>
date Fri, 26 Feb 2016 20:46:53 +0100
parents d9f9de4bd7a0
children 61ff3bef94a6
line wrap: on
line diff
--- a/docker/libervia_cont.sh	Fri Feb 26 20:20:36 2016 +0100
+++ b/docker/libervia_cont.sh	Fri Feb 26 20:46:53 2016 +0100
@@ -329,7 +329,7 @@
         docker run --name $VOLUME_ALIAS $VOLUME_CONT > /dev/null 2>&1
         if [ $? -ne 0 ]; then
             printf "Can't create $VOLUME_ALIAS container.\n\
-If you have an existing one, please remove it with \"docker rm $VOLUME_ALIAS\" (/!\\ it will remove *ALL* your data)\n\n\
+If you have an existing one, please remove it with \"docker rm -v $VOLUME_ALIAS\" (/!\\ it will remove *ALL* your data)\n\n\
 Hint: you can also rename your current data container with \"docker rename $VOLUME_ALIAS new_container_name\"\n"
             exit 1
         fi