-
Notifications
You must be signed in to change notification settings - Fork 255
'docker context update' returns error 'unknown flag: --docker' #811
Comments
Thanks for the report @wamonite. You can deactivate the Compose CLI in the preferences of Docker Desktop for Mac by toggling the Is this a workflow that you use often? |
Thanks @chris-crone, disabling the cloud experience did indeed fix this issue. SSH contexts are a workflow we're now using often, and we've automated creating/updating user contexts. While the issue surprised us, it was worked around by deleting and recreating contexts, so a fix is nice-to-have rather than required. |
@wamonite would you be interested in giving us some more feedback about how you are using Contexts and chat around some future ideas we have 👀 drop me an email on bengotch@docker.com if so, thanks! |
That error on |
I'm using Docker for Mac v. docker context create ecs --docker "host=ssh://myusername@myhost" But the following just works: docker context create myenv --docker "host=ssh://myusername@myhost" I just realized |
Description
Steps to reproduce the issue:
Describe the results you received:
The SSH context is not updated with the new host info. The SSH context needs to be deleted then recreated.
Describe the results you expected:
The SSH context should be updated with the new host info.
Additional information you deem important (e.g. issue happens only occasionally):
This error occurred on Docker for Mac. Another office Mac, which returns the same
docker version
output except without theAzure integration 0.1.15
line, works as expected.Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Docker for Mac.
The text was updated successfully, but these errors were encountered: