diff options
author | Thomas O'Donnell <andytom@users.noreply.github.com> | 2021-10-25 07:54:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-25 07:54:39 +0200 |
commit | 39e7b78cb26cb580505a95cba99f653584d06404 (patch) | |
tree | d3c1f2cbe8f741c740b638efb75e7e7870c35e60 /docs | |
parent | 48fca507f5d94ad9527333f5a5652662835e94c4 (diff) |
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.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/config/README.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/config/README.md b/docs/config/README.md index c68060b7c..579467e94 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -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 |