Skip to content

Commit

Permalink
Add rule for docker image pull error
Browse files Browse the repository at this point in the history
  • Loading branch information
ajitak committed Jun 14, 2017
1 parent f076eaf commit 3e94fcf
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": "permanent",
"reason": "CorruptDockerImage",
"pattern": "container start failed: ErrImagePull: (.+): 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": "permanent",
"reason": "CorruptDockerImage",
"pattern": "container start failed: ErrImagePull: (.+): directory not empty"
}
]
}

0 comments on commit 3e94fcf

Please sign in to comment.