From 57c56567cf5cc6fe4a6423c0bc4208d9a187ea45 Mon Sep 17 00:00:00 2001 From: dimti Date: Mon, 6 Jan 2025 14:14:14 +0300 Subject: [PATCH] * use full database container name for detect id of db container for mariadb-dump operations --- bash/dump.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/dump.sh b/bash/dump.sh index 6c6254c..97058e6 100755 --- a/bash/dump.sh +++ b/bash/dump.sh @@ -1,5 +1,5 @@ #!/bin/bash -CONTAINER=$(docker ps | grep db | awk '{print $1}') +CONTAINER=$(docker ps | grep mariadb | awk '{print $1}') if [[ -z "${CONTAINER}" ]]; then echo "Unable to find container: db"