Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add the ability to start and exec into a devcontainer (docker run -it)

Open
#943 0 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by locating the CLI entry points for the up and exec commands and read how they handle workspace folders, command arguments, and interactive sessions. The work is done when a documented single invocation can start the dev container and attach to an interactive command, while the proposed workspace-folder shorthand has a clearly decided scope.

Written by the indexing model from the issue text.

Description

feature-request

I would like to be able start and exec into my devcontainer with a single command (like you can with docker using docker run -it zsh for example).

So instead of:

devcontainer up

and

devcontainer exec --workspace-folder . zsh

There would be some alternative flag/command/whatever. It could maybe look something like:

devcontainer up -it --workspace-folder . zsh

As a side note, the --workspace-folder flag is a little unwieldy. It would be nice to at least have a shorthand.

Dominant language
TypeScript
Stars
3k
Forks
461
Avg merge
18m
Merged PRs (30d)
5

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.

More from devcontainers/cli

All issues in devcontainers/cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.