-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Update to Docker contexts #4775
Conversation
docs/remote/containers-advanced.md
Outdated
|
||
Use the following command with the appropriate values to set up Docker on a remote SSH host. Note that you can use alternate [Docker Machine drivers](https://docs.docker.com/machine/drivers/) instead if you prefer. | ||
You create new contexts with `docker context create`, specifying a name and endpoint configuration (cluster or single nodes): `docker context create my-context`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Creating a context requires additional parameters. I'd link to Docker's documentation to avoid the complexity here: https://docs.docker.com/engine/context/working-with-contexts/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense - added a hyperlink at the beginning of the section and removed some of the complexity here.
docs/remote/containers-advanced.md
Outdated
docker-machine env give-it-a-name-here | Invoke-Expression | ||
code | ||
``` | ||
Without the Docker extension, Remote-Containers will use the current context. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Repeats the last sentence.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Removed last sentence.
Docker contexts seem to be the newer concept compared to Docker Machine, so updating the documentation according to discussion
Fixes microsoft/vscode-remote-release#5403