Update conf.dockerps

Correct statuses to call out starting and unhealthy containers
This commit is contained in:
Justin J. Novack 2020-06-09 17:48:11 -04:00 committed by GitHub
parent 92aac170d0
commit 448f19652a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 1 deletions

View File

@ -17,9 +17,21 @@ colours=blue
# Statuses
# https://github.com/docker/docker/blob/e5a3f86e447dd659da3c2e759f3c088a0bfcfe3d/container/state.go#L40
# Up
regexp=(?:\s{2}|^)(?:Up|Restarting)(?:(?:\s[\w,\d,(,)]+)+)?
regexp=(?:\s{2}|^)(?:Up|Restarting)(?:(?:\s[\w,\d]+)+)?
colours=bold green
======
# Health - healthy
regexp=\s\(healthy\)
colours=bold green
======
# Health - starting
regexp=\s\(health: starting\)
colours=bold yellow
======
# Health - unhealthy
regexp=\s\(unhealthy\)
colours=bold red
======
# Statuses - Exited
regexp=Exited\s.(\d+).+?(?=\s{2,})
colours=bold red,red