mirror of https://github.com/docker/cli.git
6ba7de3b5a
The "docker context show" command is intended to show the currently configured context. While the context that's configured may not be valid (e.g., in case an environment variable was set to configure the context, or if the context was removed from the filesystem), we should still be able to _show_ the context. This patch removes the context validation, and instead only shows the context. This can help in cases where the context is used to (e.g.) set the command- prompt, but the user removed the context. With this change, the context name can still be shown, but commands that _require_ the context will still fail. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
command | ||
compose | ||
config | ||
connhelper | ||
context | ||
debug | ||
flags | ||
manifest | ||
registry/client | ||
streams | ||
trust | ||
version | ||
winresources | ||
cobra.go | ||
cobra_test.go | ||
error.go | ||
required.go | ||
required_test.go |