You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
devcontainer-cli is the start of a CLI to improve the experience of working with [Visual Studio Code devcontainers](https://code.visualstudio.com/docs/remote/containers)
4
+
5
+
## Installation
6
+
7
+
TODO - add this once releases are automated!
8
+
9
+
## Enabling bash completion
10
+
11
+
To enable bash completion, add the following to you `~/.bashrc` file:
12
+
13
+
```bash
14
+
.<(devcontainer completion)
15
+
```
16
+
17
+
## Usage
18
+
19
+
### Listing devcontainers
20
+
21
+
To see which running devcontainers the CLI detects you can run the `list` command.
22
+
23
+
### Running commands inside a devcontainer
24
+
25
+
`devcontainer` allows you to run commands in devcontainers. This is similar to `docker exec` but works with devcontainer names (rather than requiring container names/IDs).
26
+
27
+
For example:
28
+
29
+
```bash
30
+
# Run an interactive bash shell in the vscode-remote-test-dockerfile devcontainer
0 commit comments