microsoft / microsoft/vscode-remote-release

bug: devcontainerCLI doesn't respect docker.host setting for remote ssh docker daemon

Open
#5,437 0 comments 0 reactions 1 assignee View on GitHub

@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

Steps to Reproduce:

  1. Create a workspace with a .devcontainer folder with any of the default microsoft devcontainer examples
  2. in user settings, set setting docker.host to ssh://username@ip (you'll need to setup a remote docker daemon to do this as described here)
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.