Docker
Onofficiรซle Beta-vertaling
Deze pagina is vertaald door PageTurner AI (beta). Niet officieel goedgekeurd door het project. Een fout gevonden? Probleem melden โ
Watโ
Toont de huidige Docker-context. Deze is niet actief bij gebruik van de standaardcontext.
Voorbeeldconfiguratieโ
- 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 }} "
Optiesโ
| Name | Type | Default | Description |
|---|---|---|---|
display_mode | string | context |
|
fetch_context | boolean | true | also fetch the current active Docker context when in the files display mode |
extensions | []string | compose.yml, compose.yaml, docker-compose.yml, docker-compose.yaml, Dockerfile | allows to override the default list of file extensions to validate |
Template (informatie)โ
standaard template
\uf308 {{ .Context }}
Eigenschappenโ
| Name | Type | Description |
|---|---|---|
.Context | string | the current active context |