DockerCLI/cli/command/context/testdata
Sebastiaan van Stijn 2c9dff1436
cli/command/context: context ls: always show current context
if a context is set (e.g. through DOCKER_CONTEXT or the CLI config file), but
wasn't found, then a "stub" context is added, including an error message that
the context doesn't exist.

    DOCKER_CONTEXT=nosuchcontext docker context ls
    NAME              DESCRIPTION                               DOCKER ENDPOINT               ERROR
    default           Current DOCKER_HOST based configuration   unix:///var/run/docker.sock
    nosuchcontext *                                                                           context "nosuchcontext": context not found: …

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-11-28 23:41:29 +01:00
..
inspect.golden remove obsolete mutli-orchestrator support 2022-02-22 15:28:12 +01:00
list-with-error.golden cli/command/context: context ls: always show current context 2022-11-28 23:41:29 +01:00
list.golden cli/command/context: context ls: always show current context 2022-11-28 23:41:29 +01:00
quiet-list.golden Make default context behaves like a real context: 2019-03-18 11:45:46 +01:00
show.golden introduce `context show` command 2022-04-25 14:40:24 +02:00