Skip to content

Commit 95237ef

Browse files
committed
Detect docker startup failures
1 parent c01ea4f commit 95237ef

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

config/docker-monitor.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
"type": "CorruptDockerOverlay2",
1414
"reason": "NoCorruptDockerOverlay2",
1515
"message": "docker overlay2 is functioning properly"
16+
},
17+
{
18+
"type": "DockerStartupFailure",
19+
"reason": "DockerStartUpSucess",
20+
"message": "Successfully started docker container"
1621
}
1722
],
1823
"rules": [
@@ -26,6 +31,12 @@
2631
"condition": "CorruptDockerOverlay2",
2732
"reason": "CorruptDockerOverlay2",
2833
"pattern": "returned error: readlink /var/lib/docker/overlay2.*: invalid argument.*"
34+
},
35+
{
36+
"type": "permanent",
37+
"condition": "DockerStartupFailure",
38+
"reason": "DockerStartupFailure",
39+
"pattern": "OCI runtime start failed: container process is already dead: unknown$"
2940
}
3041
]
3142
}

0 commit comments

Comments
 (0)