Merge pull request #151 from jnovack/patch-1

Update conf.dockerps
This commit is contained in:
Radovan Garabík 2020-07-01 17:30:37 +02:00 committed by GitHub
commit fb14b1a0a0
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