Dev Container notes
This commit is contained in:
Родитель
dcf4c9d45c
Коммит
ac70113f91
|
@ -0,0 +1,3 @@
|
|||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a5e7305e50330b67c3eff7c3e5a69ec8f6ec5c71c47bf796b1b26f21c5c5c0e2
|
||||
size 32386
|
|
@ -4,6 +4,34 @@
|
|||
|
||||
## Dev Containers
|
||||
|
||||
### GPU host requirement
|
||||
|
||||
In the `devcontainer.json` you can now specify that a GPU is required:
|
||||
```json
|
||||
{
|
||||
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
|
||||
"hostRequirements": {
|
||||
"gpu": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
The container will be started with GPU enabled (if one is detected).
|
||||
|
||||
### Improved `ssh-agent` and `gpg-agent` forwarding
|
||||
|
||||
We now also support forwarding to local SSH and GPG agents listening on MINGW and Cygwin socket paths.
|
||||
|
||||
### Bundled `@devcontainer/cli` NPM package
|
||||
|
||||
The JavaScript in the `@devcontainer/cli` NPM package is now bundled in a single minified JavaScript file.
|
||||
|
||||
### Improved `Create Dev Container...` UI
|
||||
|
||||
The `F1` > `Dev Containers: Create Dev Container...` UI allows for picking a name for the dev container and offers a shortcut avoiding additional options:
|
||||
|
||||
![Dev Container Name Input](images/1_74/create-dev-container.png)
|
||||
|
||||
## SSH
|
||||
|
||||
## WSL
|
||||
|
|
Загрузка…
Ссылка в новой задаче