feat(docker_context): Use DOCKER_HOST and DOCKER_CONTEXT enviroment variables (#2782)

* feat(docker_context): Use DOCKER_HOST and DOCKER_CONTEXT enviroment variables for docker context

* Updating documentation for Docker context
This commit is contained in:
Lorenzo Tucci
2021-07-03 21:38:39 +00:00
committed by GitHub
parent a4a2adb0f8
commit 446ef03b4d
2 changed files with 147 additions and 43 deletions
+2 -1
View File
@@ -791,7 +791,8 @@ truncation_symbol = "…/"
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`.
`default` or if the `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant
to override the context in use).
### Options