Skip to main content

Docker

What

Display the current Docker context. Will not be active when using the default context.

Sample Configuration

{
"type": "docker",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#000000",
"background": "#0B59E7",
"template": "  {{ .Context }} "
}

Template (info)

default template
\uf308 {{ .Context }}

Properties

NameTypeDescription
.Contextstringthe current active context