Skip to content

fast context switching #1586

Description

@andrewhsu

This issue is to track a new feature to store credentials to connect to different clusters and quickly switch from one to the other. Inspired by kubectl context. This will allow a user to quickly switch between different DOCKER_HOST and kubernetes endpoints as well as other endpoints in the future.

Will bring a new subcommand that will look like:

$ docker context --help

Usage:  docker context COMMAND

Manage contexts

Management Commands:
  set         Modify an existing context

Commands:
  create      Create a context
  export      Export a context
  import      Import a context
  ls          List contexts
  rm          Remove one or more contexts
  use         Set the current docker context

Run 'docker context COMMAND --help' for more information on a command.

Older PR to moby for reference: moby/moby#38148

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions