devcontainers / devcontainers/cli

enable devcontainer up in detached mode

Open
#430 1 comment 6 reactions 0 assignees View on GitHub
feature-request
Dominant language
TypeScript
Stars
3k
Forks
457
Avg merge
13h 17m
Merged PRs (30d)
6

Description

### Discussed in https://github.com/orgs/devcontainers/discussions/31

Originally posted by **Jogi7819** February 28, 2023
devcontainer up runs per default the command docker run with `-a STDOUT` and -a `STDERR`. The command is executed without issues but the bash gets never released and stucks. It would by nice to allow instead of the mentioned paramters to run devcontainer up in detach mode which should result in `docker run --detach ... `

Contributor guide

Open the contributing guide

Research direction

Start with the `devcontainer up` command and trace where it invokes `docker run` with `-a STDOUT` and `-a STDERR`. Check the discussion linked in the issue for the intended detached-mode behavior. Done means providing a detached option that uses `docker run --detach` and releases the shell without breaking normal output handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, typescript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.