Skip to content
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

Attaching to running container does not install extensions #7252

Closed
alexdima opened this issue Sep 27, 2022 · 2 comments
Closed

Attaching to running container does not install extensions #7252

alexdima opened this issue Sep 27, 2022 · 2 comments
Assignees
Labels
containers Issue in vscode-remote containers feature-request Request for new features or functionality
Milestone

Comments

@alexdima
Copy link
Member

alexdima commented Sep 27, 2022

Testing #7248

Not sure if this is as designed or not.

  • basically all the CLI steps in Test: Dev container image metadata #7248
  • open a new window
  • run the action Dev Container: Attach to Running Container...
  • pick the container with -workspace- in its name
  • the extensions chrmarti.regex or ms-vscode.hexeditor don't get installed
  • I've also tried the action Dev Container: Open Folder in Container and picked the workspace folder. Also in this case, the two vscode extensions were not installed:

image

Edit: The extensions I was expecting only got installed when executing Rebuild Container:

image

@chrmarti
Copy link
Contributor

Currently expected. We need a devcontainer attach command.

Related: devcontainers/spec#20

@chrmarti chrmarti added this to the Backlog milestone Sep 28, 2022
@chrmarti chrmarti added containers Issue in vscode-remote containers feature-request Request for new features or functionality labels Sep 28, 2022
@chrmarti
Copy link
Contributor

This was fixed with #7872.

@microsoft microsoft locked and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
containers Issue in vscode-remote containers feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

2 participants