microsoft / microsoft/vscode-remote-release

Empty ENTRYPOINT causes Dev Container to fail

Open
#9,226 0 comments 0 reactions 1 assignee View on GitHub

@chrmarti is already working on this.

Since Dec 8, 2023.

bug containers
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

The bug.zip file contains a minimal project to reproduce the bug. Open the project directory in VSCode. Execute Reopen in Container. The error message says An error occurred setting up the container.

Note that the command below works fine:
docker compose run --rm --build bug bash

Now delete all containers and images associated with the project to start over. Open the img.dockerfile and comment out the ENTRYPOINT [""]. Again, VSCode -> Reopen in Container. This time it works.

bug.zip
remoteContainers.log

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.