Merge pull request #122 from ajitak/cherrypick-#117-v0.4

Add a new rule which catches docker image corruption (cherrypick #117 to v0.4)
This commit is contained in:
Lantao Liu
2017-06-21 15:43:34 -07:00
committed by GitHub
2 changed files with 14 additions and 2 deletions

View File

@@ -10,5 +10,11 @@
"bufferSize": 10,
"source": "docker-monitor",
"conditions": [],
"rules": []
"rules": [
{
"type": "temporary",
"reason": "CorruptDockerImage",
"pattern": "Error trying v2 registry: failed to register layer: rename /var/lib/docker/image/(.+) /var/lib/docker/image/(.+): directory not empty.*"
}
]
}

View File

@@ -8,5 +8,11 @@
"bufferSize": 10,
"source": "docker-monitor",
"conditions": [],
"rules": []
"rules": [
{
"type": "temporary",
"reason": "CorruptDockerImage",
"pattern": "Error trying v2 registry: failed to register layer: rename /var/lib/docker/image/(.+) /var/lib/docker/image/(.+): directory not empty.*"
}
]
}