devcontainers / devcontainers/cli

Usage of --id-label yields hanging process

Open
#665 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
3k
Forks
457
Avg merge
13h 17m
Merged PRs (30d)
6

Description

Version of devcontainer-cli: 0.52.1
OS: Ubuntu 20.04
Shell: bash/zsh

Issue: Using `--id-label` to identify the container, and be able to spawn multiple devcontainers based on the same `devcontainer.json`, yields a hanging process after starting the container with `devcontainer up`.

Expected behavior: The process should not hang, as is the case if --id-label is not used.

Reproduce:
- Clone this repository: `git clone https://github.com/devcontainers/cli.git`
- Start devcontainer with id-label: `cd cli && devcontainer up --workspace-folder . --id-label name=hello`

Simply using `devcontainer up --workspace-folder .` works as expected.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.