Fix inspecting docker objects when starting container
This commit is contained in:
parent
4da98f6580
commit
dc36be2efb
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user