microsoft / microsoft/vscode-remote-release

Attach to running container fails due to missing ldconfig cache

Open
#11,509 6 comments 0 reactions 1 assignee View on GitHub

@chrmarti is already working on this.

Since Mar 2, 2026.

containers info-needed
Dominant language
Dockerfile
Stars
4.2k
Forks
469
Avg merge
1d 1h
Merged PRs (30d)
1

Description

A container is started.

Right click on the running container and choose "Attach Visual Studio Code".

Failure complains that ldconfig has no cache.

Close the VS Code window.

Attach a shell to the running container.

Run "ldconfig" (which creates a cache presumably).

Right click on the running container and choose "Attach Visual Studio Code".

VS Code window now opens and is functiona.

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.