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