Skip to content

Commit 40cd830

Browse files
committed
Update README
1 parent b25eaeb commit 40cd830

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,17 @@ devcontainer exec vscode-remote-test-dockerfile bash
5050
devcontainer exec vscode-remote-test-dockercompose_devcontainer/mongo ls -a /workspaces/vscode-remote-test-dockerfile
5151
```
5252

53+
You can pass `?` as the devcontainer name and the CLI will prompt you to pick a devcontainer to run the `exec` command against, e.g.:
54+
55+
```bash
56+
$ ./devcontainer exec ? bash
57+
Specify the devcontainer to use:
58+
0: devcontainer-cli (festive_saha)
59+
1: vscode-remote-test-dockerfile (fervent_gopher)
60+
0
61+
```
62+
63+
5364
### Working with devcontainer templates
5465

5566
To work with devcontainer templates `devcontainer` needs to know where you have the templates stored.

0 commit comments

Comments
 (0)