mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
feat: also read from DOCKER_MACHINE_NAME (#3175)
This adds support to also read the context from `DOCKER_MACHINE_NAME` since it is a bit more user friendly.
This commit is contained in:
@@ -836,9 +836,10 @@ truncation_symbol = "…/"
|
||||
## Docker Context
|
||||
|
||||
The `docker_context` module shows the currently active
|
||||
[Docker context](https://docs.docker.com/engine/context/working-with-contexts/) if it's not set to
|
||||
`default` or if the `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant
|
||||
to override the context in use).
|
||||
[Docker context](https://docs.docker.com/engine/context/working-with-contexts/)
|
||||
if it's not set to `default` or if the `DOCKER_MACHINE_NAME`, `DOCKER_HOST` or
|
||||
`DOCKER_CONTEXT` environment variables are set (as they are meant to override
|
||||
the context in use).
|
||||
|
||||
### Options
|
||||
|
||||
|
||||
Reference in New Issue
Block a user