Fix inspecting docker objects when starting container

This commit is contained in:
Arnie 2019-07-28 07:33:36 +02:00
parent 4da98f6580
commit dc36be2efb

View File

@ -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