Update README.md
This commit is contained in:
Родитель
4c8a13f339
Коммит
ed8265d89b
|
@ -28,7 +28,11 @@ You can either:
|
|||
|
||||
#### Can I just reuse an existing Docker configuration?
|
||||
|
||||
Absolutley! At its simplest, all you need to do is add a `.vscode/devContainer.json` file to your project and reference the `Dockerfile` or `docker-compose.yml`. The intent of `devContainer.json` is conceptually similar to VS Code's `launch.json` for debugging, but designed to launch (or attach to) your development container instead.
|
||||
Absolutley! If you want to use an existing Dockerfile as a starting point, run **Remote-Docker: Create Container Configuraton File...** from the command pallette (Cmd/Ctrl+Shift+P). You'll be prompted to select a Dockerfile or you can opt to use a base image instead.
|
||||
|
||||
##### About `.vscode/devContainer.json`
|
||||
|
||||
The intent of `devContainer.json` is conceptually similar to VS Code's `launch.json` for debugging, but designed to launch (or attach to) your development container instead. At its simplest, all you need to do is add a `.vscode/devContainer.json` file to your project and reference the `Dockerfile` or `docker-compose.yml`.
|
||||
|
||||
Since you are here, check out the [Existing Dockerfile](containers/docker-existing-dockerfile) and [Existing Docker Compose](containers/docker-existing-docker-compose) definitions for details, but here's the a quick tour of the basic properties. If you have a `Dockerfile`, set these properties:
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче