Skip to content

Commit

Permalink
Add a new rule which catches docker image corruption.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajitak committed Jun 21, 2017
1 parent f076eaf commit 2155591
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 2155591

Please sign in to comment.