Docker
What
Display the current Docker context. Will not be active when using the default context.
Sample Configuration
- json
- yaml
- toml
{
"type": "docker",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#000000",
"background": "#0B59E7",
"template": " {{ .Context }} "
}
type: docker
style: powerline
powerline_symbol:
foreground: "#000000"
background: "#0B59E7"
template: " {{ .Context }} "
type = "docker"
style = "powerline"
powerline_symbol = ""
foreground = "#000000"
background = "#0B59E7"
template = " {{ .Context }} "
Template (info)
default template
\uf308 {{ .Context }}
Properties
Name | Type | Description |
---|---|---|
.Context | string | the current active context |