Skip to content

[v2] Remote - Containers extension v0.74.0 does not work #1032

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

Closed
someone1 opened this issue Sep 26, 2019 · 2 comments
Closed

[v2] Remote - Containers extension v0.74.0 does not work #1032

someone1 opened this issue Sep 26, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@someone1
Copy link

someone1 commented Sep 26, 2019

Description

The latest versions of the extension report they are not compatible with code-server (although it matches the latest vscode version), so I downloaded version 0.74.0, setup docker-ce-cli on the v2 docker image, and tried loading an example container. The "Remote Connection" green bottom left icon never shows up after the extension installation and although the extension can detect when a folder is opened with a .devcontainer subfolder, when trying to relaunch the folder in a container (with docker verified to work), it just reloads the window and loses the project folder, nothing else happens.

The reason I prefer to use the Remote - Containers extension instead of setting up the code-server docker image how I want is that we have multiple projects with their own unique setup with Remote - Containers, including docker-compose setups with multiple containers, so having a single generic code-server image that can load and launch the Remote - Containers config depending on which project is open is ideal and more flexible than having multiple code-server images for each project.

Steps to Reproduce

  1. docker run -it -p 127.0.0.1:8080:8080 -v "${PWD}:/home/coder/project" -v "//var/run/docker.sock:/var/run/docker.sock" codercom/code-server:v2
  2. Setup docker-ce-cli in the container (e.g. run curl -sSL https://get.docker.com | CHANNEL=stable bash and cancel out after all the repository stuff is setup, before it tries to install docker-ce)
  3. chmod 0666 /var/run/docker.sock
  4. Install the Remote - Containers v0.74.0 extension via VSIX install
  5. git clone the example container project here: https://github.com/Microsoft/vscode-dev-containers
  6. Open Folder to one of the example directories
  7. Try to launch into the container when prompted by the extension
  8. Failure
@sr229 sr229 added the bug Something isn't working label Sep 26, 2019
@someone1
Copy link
Author

Just reporting in - still an issue with the 2.1638-vsc1.39.2 release (looking good, great job and thousands of thank yous!), though now the latest version of the extension (v0.81.1) installs without issue. Previously the latest version wouldn't even install.

@nhooyr
Copy link
Contributor

nhooyr commented Jan 29, 2020

See #1315

@nhooyr nhooyr closed this as completed Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants