Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fast context switching #1586

Closed
4 of 5 tasks
andrewhsu opened this issue Dec 19, 2018 · 10 comments
Closed
4 of 5 tasks

fast context switching #1586

andrewhsu opened this issue Dec 19, 2018 · 10 comments
Assignees
Milestone

Comments

@andrewhsu
Copy link
Contributor

andrewhsu commented Dec 19, 2018

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

@simonferquel
Copy link
Contributor

First checkbox can now be checked. #1500 is validated and closed in favor of #1501

@simonferquel
Copy link
Contributor

#1501 now brings tests to the high level commands

@simonferquel
Copy link
Contributor

#1501 now brings commands documentation

@albers
Copy link
Collaborator

albers commented Dec 20, 2018

@simonferquel I'll add the completion after the feature is merged.

@simonferquel
Copy link
Contributor

Ok thanks @albers

@simonferquel
Copy link
Contributor

#1501 is merged. @albers you can start working on completion script. Do not hesitate to ping me on this.

@albers
Copy link
Collaborator

albers commented Jan 20, 2019

@simonferquel bash completion is done, see #1619

@theycallmemac
Copy link

@andrewhsu is this just awaiting documentation?

@theycallmemac
Copy link

@andrewhsu if this is just awaiting docs I can help

@thaJeztah
Copy link
Member

Looks like this is done

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

No branches or pull requests

5 participants