2016-05-14 07:20:54 +02:00
|
|
|
# HEADERS
|
|
|
|
regexp=(?:\s|^)(CONTAINER ID|IMAGE|COMMAND|CREATED|STATUS|PORTS|NAMES)(?:\s|$)
|
|
|
|
colours=default,underline
|
|
|
|
======
|
2015-11-13 07:14:27 +01:00
|
|
|
# IMAGE
|
2016-05-14 07:20:54 +02:00
|
|
|
regexp=^(?!CONTAINER)(\w+)\s+([^\s]+)\s+(".*")\s+(.*(?=(?:Up|Exited|Created|Restarting)))
|
|
|
|
colours=default,bright_black,bold white,bright_black,cyan
|
|
|
|
======
|
|
|
|
# Statuses - Created
|
|
|
|
regexp=\sCreated\s
|
|
|
|
colours=blue
|
2015-11-13 07:14:27 +01:00
|
|
|
======
|
2016-05-14 07:20:54 +02:00
|
|
|
# Statuses - Up / Restarting
|
2015-11-13 07:14:27 +01:00
|
|
|
regexp=\sUp\s(\d+|\w+)\s\w+(?:\s\w+)?
|
|
|
|
colours=bold green
|
|
|
|
======
|
2016-05-14 07:20:54 +02:00
|
|
|
# Statuses - Exited
|
2015-11-13 07:14:27 +01:00
|
|
|
regexp=\sExited\s.(\d+).\s.+ago
|
|
|
|
colours=bold red,red
|
|
|
|
======
|
2016-05-14 07:20:54 +02:00
|
|
|
# Statuses - Restarting
|
|
|
|
regexp=\sRestarting\s.(\d+).\s.+ago
|
|
|
|
colours=bold blue
|
|
|
|
======
|
|
|
|
# Ip Addresses / Ports
|
|
|
|
regexp=(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(\:)?(\d{1,5}))?(?:->)?(\d{1,5}(\/)\w+)
|
|
|
|
colours=default,blue,default,bright_green,bright_blue,default
|
2015-11-13 07:14:27 +01:00
|
|
|
======
|
|
|
|
# NAMES
|
|
|
|
regexp=(?:([a-z\-_0-9]+)/)*([a-z\-_0-9]+)$
|
|
|
|
colours=default,yellow,bold yellow
|