Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxel committed Apr 19, 2019
1 parent c36b480 commit 920f4d7
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,34 @@
# Visual Studio Code Remote Development Container Definitions
# VS Code Remote Development Container Definitions

A **development container** is a running container that comes with a basic tool stack (Python, node, Go, etc.) and its prerequisites (e.g. `pylint` for Python). This container may be used to actually run an application or be focused exclusively on sandboxing tools, libraries, runtimes, or other utilities that need to be run against a codebase.The Containers extension in the [Visual Studio Code Remote Development](https://aka.ms/vscode-remote/download/extension) extension pack allows you to open any folder inside (or mounted into) a dev container and take advantage of VS Code's full feature set.
A **development container** is a running container that comes with a basic tool stack (Python, node, Go, etc.) and its prerequisites. The Remote - Containers extension in the [Remote Development](https://aka.ms/vscode-remote/download/extension) extension pack allows you to open any folder inside (or mounted into) a dev container and take advantage of VS Code's full feature set.

This repository contains a set of **dev container definitions** made up of files like `devcontainer.json` to help get you up and running in a containerized environment. These definitions describe the needed container image, any runtime arguments for starting the container, and any VS Code extensions that should be installed into it. They're can help you get started or as examples for adapting your own configuration to different situations.
This repository contains a set of **dev container definitions** to help get you up and running in a containerized environment. They describe the needed container image, any runtime arguments for starting the container, and any VS Code extensions that should be installed into it. They're can help you get started or be used as examples for adapting your own configuration to different situations.

**[Learn more!](https://aka.ms/vscode-remote/containers)**.
**[Learn more!](https://aka.ms/vscode-remote/containers)**

## Using a definition

You can either:
To add a dev container definition in your project, you can either:

- Open a folder in VS Code without a `devcontainer.json` file and run the **Remote-Containers: Create Container Configuration File...** or **Remote-Containers: Reopen Folder in Container** commands. You be prompted to pick a definition and any options and the appropriate files will then be added to your project.
- Add them using VS Code:

1. Start VS Code and open the your project folder
2. Press <kbd>F1</kbd>
and select either the **Remote-Containers: Create Container Configuration File...** or **Remote-Containers: Reopen Folder in Container** commands.
3. Follow the directions and pick a development container definition when the list appears.

- Manually copy the contents of one of the `containers` sub-folders into your project. Typically you can just copy the `.devcontainer` folder into your project but the folder's README may mention additional files.
- Or manually copy the contents of one of the `containers` sub-folders into your project. Typically you can just copy the `.devcontainer` folder into your project and ignore everything else. See the `README` for details.

## Trying a definition

1. Click on one of the `containers` sub-folders to open it in your browser
2. Check out the `README` to see if there are any manual steps
3. Clone this repository or copy the contents of the folder to your machine
4. Run the **Remote-Containers: Open Folder in Container...** command in VS Code
5. Select the root of the definition folder in the "open" dialog (**not** the `test-project` folder if present)
If you want to play with a definition,

Many definitions include a `test-project` with a sample and/or launch settings in the `.vscode` folder that you can use to see the dev container in action. See the `README` for how to use them.
1. Browse the contents of the `containers` in this repository and pick one. Check out the `README` to see if there are any manual steps required before proceeding.
3. Clone this repository or copy the contents of the folder to your machine.
4. Run the **Remote-Containers: Open Folder in Container...** command in VS Code.
5. Select the root of the definition folder in the "open" dialog (**not** the `test-project` folder if present).

Many definitions include a `test-project` with a sample and/or launch settings in the `.vscode` folder that you can use to see the dev container in action. See the definition's `README` for details.

## Adding a definition to an existing public or private repo

Expand Down

0 comments on commit 920f4d7

Please sign in to comment.