You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for Advanced Container Configuration, has a section 'connect using docker machine' (https://code.visualstudio.com/docs/remote/containers-advanced#_connect-using-docker-machine) , but docker-machine is deprecated and no longer provided with docker desktop for windows. Instead the docker docs suggest simply using the environment variable DOCKER_HOST for remote server docker operations.
The text was updated successfully, but these errors were encountered:
Thanks for reporting @HollisTech! Would you be able to share where in the Docker docs it mentions docker-machine is deprecated? I can't seem to find it on https://docs.docker.com/machine/
That section is in the section "Superseded products and tools." Also see docker/machine#4537. Docker for windows incorporates machine functionality using either the --machine parameter or the DOCKER_HOST environment variable.
The Docker extension comes with docker.host (same as DOCKER_HOST env variable) and docker.context (same as DOCKER_CONTEXT env variable) user settings that are also honored by the Remote-Containers extension.
Note that the above settings are only visible when the Docker extension is installed. Without the Docker extension, Remote-Containers will use the current context. The current context can be changed using docker context use <context>.
The documentation for Advanced Container Configuration, has a section 'connect using docker machine' (https://code.visualstudio.com/docs/remote/containers-advanced#_connect-using-docker-machine) , but docker-machine is deprecated and no longer provided with docker desktop for windows. Instead the docker docs suggest simply using the environment variable DOCKER_HOST for remote server docker operations.
The text was updated successfully, but these errors were encountered: