2016-03-28 06:56:13 +02:00
|
|
|
# HEADERS
|
2016-10-08 08:27:29 +02:00
|
|
|
regexp=(?:\s|^)(CONTAINER ID|IMAGE|COMMAND|CREATED|STATUS|PORTS|NAMES|Name|Command|State|Ports)(?:\s|$)
|
2016-03-28 06:56:13 +02:00
|
|
|
colours=default,underline
|
2015-11-13 07:14:27 +01:00
|
|
|
======
|
2016-03-28 06:56:13 +02:00
|
|
|
# Commands
|
|
|
|
regexp=(?:\s\")(.*)(?:\")
|
|
|
|
colours=magenta
|
|
|
|
======
|
|
|
|
# https://github.com/docker/docker/blob/e5a3f86e447dd659da3c2e759f3c088a0bfcfe3d/container/state.go#L40
|
|
|
|
# Statuses - Up / Restarting
|
|
|
|
regexp=\sUp(.*)\s
|
2015-11-13 07:14:27 +01:00
|
|
|
colours=bold green
|
|
|
|
======
|
2016-03-28 06:56:13 +02:00
|
|
|
# Statuses - Exited
|
|
|
|
regexp=\sExited(?:\s\(\d\)?)(.*)\s
|
|
|
|
colours=concealed red
|
2015-11-13 07:14:27 +01:00
|
|
|
======
|
2016-03-28 06:56:13 +02:00
|
|
|
# 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,bold blue,default,bold blue,default
|
2015-11-13 07:14:27 +01:00
|
|
|
======
|
|
|
|
# NAMES
|
2016-03-28 06:56:13 +02:00
|
|
|
regexp=\s([a-z-_0-9]+)$
|
|
|
|
colours=default,bold yellow
|
|
|
|
======
|
|
|
|
# CONTAINER ID
|
|
|
|
regexp=^([a-z-_0-9]+)\s
|
|
|
|
colours=default,cyan
|