context.use does not return a context object #476
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
docker.context.create
returns acontext
object which can be later used in aDockerClient
However if the context already exists a
DockerException
is thrown:Calling
docker.context.use("192.168.64.11")
only switches to the context but does not return a context object making it very difficult to create aDockerClient
with a context.The text was updated successfully, but these errors were encountered: