Skip to content

Commit

Permalink
Merge pull request #122 from ajitak/cherrypick-#117-v0.4
Browse files Browse the repository at this point in the history
Add a new rule which catches docker image corruption (cherrypick #117 to v0.4)
  • Loading branch information
Random-Liu authored Jun 21, 2017
2 parents f076eaf + 2155591 commit 19750bc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion config/docker-monitor-filelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.*"
}
]
}
8 changes: 7 additions & 1 deletion config/docker-monitor.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.*"
}
]
}

0 comments on commit 19750bc

Please sign in to comment.