devcontainers / devcontainers/cli

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

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

Description

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:
```sh
devcontainer up
```
and
```sh
devcontainer exec --workspace-folder . zsh
```

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

```sh
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.

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.