microsoft / microsoft/vscode-remote-release
bug: devcontainerCLI doesn't respect docker.host setting for remote ssh docker daemon
Open
@stuartleeks is already working on this.
Since Aug 12, 2021.
bug
containers
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
- VSCode Version: 1.59.0
- Local OS Version: Windows 10 19043
- Remote OS Version: Ubuntu live server 20.04
- Remote Extension/Connection Type: SSH/Docker
- Logs:
devcontainer cli: remoteContainers-2021-08-10T18-25-28.945Z.log
reopen in container: remoteContainers-2021-08-10T18-39-11.063Z.log
Steps to Reproduce:
- Create a workspace with a .devcontainer folder with any of the default microsoft devcontainer examples
- in user settings, set setting
docker.hosttossh://username@ip(you'll need to setup a remote docker daemon to do this as described here) - open workspace through
devcontainer open /path/to/workspace
Expected Result:
devcontainer cli actually opens the workspace through a local DOCKER_HOST rather than through the docker.host setting
Workaround:
You can just run code /path/to/workspace and then from the command pallet run Reopen in container which will respect the docker.host setting
Does this issue occur when you try this locally?: N/A
Does this issue occur when you try this locally and all extensions are disabled?: N/A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.