Fix inspecting docker objects when starting container
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user