From dc36be2efb1856150bf5bbd61825914796e5227f Mon Sep 17 00:00:00 2001 From: Arnie Date: Sun, 28 Jul 2019 07:33:36 +0200 Subject: [PATCH] Fix inspecting docker objects when starting container --- common.shinc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.shinc b/common.shinc index eaf6912..a0594cc 100644 --- a/common.shinc +++ b/common.shinc @@ -34,7 +34,7 @@ stop() { start() { __msg "Starting container... " 0 no - docker inspect "${SERVICE_NAME}" > /dev/null 2>&1 + docker inspect --type container "${SERVICE_NAME}" > /dev/null 2>&1 if [[ $? -ne 0 ]]; then init