Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Contexts : do not allow creation of context with type "foo" #136

Closed
gtardif opened this issue May 20, 2020 · 0 comments
Closed

Contexts : do not allow creation of context with type "foo" #136

gtardif opened this issue May 20, 2020 · 0 comments
Milestone

Comments

@gtardif
Copy link
Contributor

gtardif commented May 20, 2020

 $ ./bin/docker context create test1 toto
 $ ./bin/docker context ls
NAME                TYPE                DESCRIPTION                               DOCKER ENPOINT                KUBERNETES ENDPOINT                                 ORCHESTRATOR
default *           docker              Current DOCKER_HOST based configuration   unix:///var/run/docker.sock   https://kubernetes.docker.internal:6443 (default)   swarm
test1               toto                                                            

We must check the type and allow only types known by existing backends, or docker ("empty" type)

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

No branches or pull requests

1 participant