This commit is contained in:
Héctor Molinero Fernández 2019-06-02 10:42:09 +02:00
parent 1f1a50e85b
commit 35e6ba5c7b

2
run.sh
View File

@ -14,7 +14,7 @@ containerExists() { docker ps -aqf name="$1" --format '{{.Names}}' | grep -Fxq "
containerIsRunning() { docker ps -qf name="$1" --format '{{.Names}}' | grep -Fxq "$1"; }

if ! imageExists "${IMAGE_NAME}"; then
>&2 printf -- '%s\n' "${IMAGE_NAME} image doesn't exist!"
>&2 printf -- '%s\n' "\"${IMAGE_NAME}\" image doesn't exist!"
exit 1
fi