Skip to content

Commit

Permalink
Merge pull request #117 from ajitak/npd-config
Browse files Browse the repository at this point in the history
Add rule for docker image pull error
  • Loading branch information
Random-Liu authored Jun 21, 2017
2 parents f076eaf + d2de52f commit b6205ea
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 b6205ea

Please sign in to comment.