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