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

Commit a2ce2d0

Browse files
author
Greg Van Liew
committed
Update README
1 parent 1faa0fc commit a2ce2d0

File tree

1 file changed

+21
-24
lines changed

1 file changed

+21
-24
lines changed

README.md

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,44 +9,44 @@
99
</td>
1010
</tr></table>
1111

12-
A **development container** is a running container with a well defined tool and runtime stack and their 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.
12+
A **development container** is a running [Docker](https://www.docker.com) container with a well-defined tool/runtime stack 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 development feature set.
1313

14-
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.
14+
This repository contains a set of **dev container definitions** to help get you up and running with a containerized environment. The definitions describe the appropriate container image, runtime arguments for starting the container, and VS Code extensions that should be installed. They can help you get started or be used as examples for adapting your own configuration to different situations.
1515

1616
## Using a definition
1717

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

20-
- Add them using VS Code:
20+
- Add it using VS Code:
2121

2222
1. If this is your first time creating a dev container, follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to configure your machine.
2323
2. Start VS Code and open your project folder.
2424
3. Press <kbd>F1</kbd>
25-
and select either the **Remote-Containers: Create Container Configuration File...** or **Remote-Containers: Reopen Folder in Container** commands.
26-
4. Follow the directions and pick a development container definition when the list appears.
25+
and select either the **Remote-Containers: Create Container Configuration File...** or **Remote-Containers: Reopen Folder in Container** commands.
26+
4. Follow the directions and pick one of the existing development container definitions in this repository from the list.
2727

28-
- Or manually copy the contents of one of folders in the `containers` directory into your project. Typically you can just copy the `.devcontainer` folder ignore everything else. See the definition's `README` for details.
28+
- Or manually copy the contents of one of folders in the `containers` directory into your project. You should be able to copy just the `.devcontainer` folder and ignore everything else. See the definition's `README` for details.
2929

30-
## Adding a definition to an existing public or private repo
30+
## Adding a definition to an existing repository
3131

32-
You can easily share a customized dev container definition for your project by simply adding files like `.devcontainer/devcontainer.json` to source control. By including these files in your repository, anyone that opens a local copy of your repo in VS Code will be automatically asked if they want reopen the folder in a container instead if the [Remote Development](https://aka.ms/vscode-remote/download/extension) extension pack is installed.
32+
You can share a customized dev container definition for your project by adding the files under `.devcontainer` to source control. Anyone who then opens a local copy of your repo in VS Code will be prompted to reopen the folder in a container, provided they have the [Remote Development](https://aka.ms/vscode-remote/download/extension) extension pack installed.
3333

34-
Beyond the advantages of having your team use a consistent environment and tool-chain, doing this can make it easier for new contributors or team members to get productive quickly. First-time contributors will require less guidance and are less likely to either submit issues or contribute code with issues that are related to environment setup.
34+
Your team now has a consistent environment and tool-chain and new contributors or team members can be productive quickly. First-time contributors will require less guidance and there will be fewer issues related to environment setup.
3535

3636
## Testing a definition
3737

3838
If you want to test a definition before choosing one:
3939

4040
1. If this is your first time creating a dev container, follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to configure your machine.
41-
2. Browse the contents of the `containers` folder in this repository and pick one. Check out the `README` to see if there are any manual setup steps you should be aware of before continuing.
41+
2. Browse the contents of the `containers` folder in this repository and pick one. Review the `README` to see if there are any manual setup steps before continuing.
4242
3. Clone this repository locally.
4343
4. Start VS Code, press <kbd>F1</kbd>, and run the **Remote-Containers: Open Folder in Container...** command.
4444
5. Select the root of the definition folder from the cloned repository when prompted (**not** the `test-project` folder if present).
4545
6. See the definition's `README` for what to do next.
4646

47-
## Sample Projects
47+
## Sample projects
4848

49-
If you're looking to try a sample project rather than information on setting up a dev container, check out one of the following repositories:
49+
If you want to try a sample project which already has a dev container, check out one of the following repositories:
5050

5151
- [Node Sample](https://github.com/Microsoft/vscode-remote-try-node)
5252
- [Python Sample](https://github.com/Microsoft/vscode-remote-try-python)
@@ -58,32 +58,29 @@ If you're looking to try a sample project rather than information on setting up
5858
- [Rust Sample](https://github.com/Microsoft/vscode-remote-try-rust)
5959
- [.NET Core Sample](https://github.com/Microsoft/vscode-remote-try-dotnetcore)
6060

61-
6261
## Contents
6362

6463
- `containers` - Contains reusable dev container definitions.
65-
- `container-templates` - Contains templates for creating your own container definitions for your project or to [contribute back](CONTRIBUTING.md#contributing-dev-container-definitions).
66-
- `repository-containers` - Dev container definitions for working on a cloned copy of specific, public source code repository (rather than general purpose).
64+
- `container-templates` - Contains templates for creating your own container definitions or to [contribute back](CONTRIBUTING.md#contributing-dev-container-definitions).
65+
- `repository-containers` - Dev container definitions for working public source code repositories.
6766

68-
### Common Questions
67+
## Common Questions
6968

70-
#### Can I just reuse an existing container image or Docker / Docker Compose configuration?
69+
### Can I just reuse an existing container image or Docker / Docker Compose configuration?
7170

72-
Yes! If you want to use an existing Dockerfile as a starting point, run **Remote-Containers: Create Container Configuration File...** from the command pallette (Cmd/Ctrl+Shift+P). You'll be prompted to select a Dockerfile or Docker Compose file and customize from there. If you prefer, you can also you can start up the container any way you see fit and [attach to it](https://aka.ms/vscode-remote/containers/attach) instead.
71+
Yes, if you want to use an existing Dockerfile as a starting point, run **Remote-Containers: Create Container Configuration File...** from the Command Palette (F1). You'll be prompted to select a Dockerfile or Docker Compose file and customize from there. If you prefer, you can also start up the container and [attach to it](https://aka.ms/vscode-remote/containers/attach).
7372

74-
#### What is the goal of `devcontainer.json`?
73+
### What is the goal of `devcontainer.json`?
7574

76-
The intent of `devcontainer.json` is similar to `launch.json` for debugging, but designed to launch (or attach to) a development container instead. At its simplest, all you need to do is add a `.devcontainer/devcontainer.json` file to your project that references an image, `Dockerfile`, or `docker-compose.yml`, and a few properties. You can [adapt it for use](https://aka.ms/vscode-remote/containers/folder-setup) in a wide variety of situations.
75+
A `devcontainer.json` file is similar to `launch.json` for debugging, but designed to launch (or attach to) a development container instead. At its simplest, all you need is a `.devcontainer/devcontainer.json` file in your project that references an image, `Dockerfile`, or `docker-compose.yml`, and a few properties. You can [adapt it for use](https://aka.ms/vscode-remote/containers/folder-setup) in a wide variety of situations.
7776

78-
## Contributing & Feedback
77+
## Contributing and feedback
7978

80-
Have a question or feedback? There are many ways to contribute.
79+
Have a question or feedback?
8180

8281
- Contribute or provide feedback for the [VS Code Remote Development extensions](https://github.com/Microsoft/vscode-remote-release/CONTRIBUTING.md).
8382
- Search [existing issues](https://github.com/Microsoft/vscode-dev-containers/issues) with dev container definitions or [report a problem](https://github.com/Microsoft/vscode-dev-containers/issues/new).
8483
- Contribute a [development container definition](CONTRIBUTING.md#contributing-dev-container-definitions) to the repository.
85-
- Contribute to [our documentation](https://github.com/Microsoft/vscode-docs) or [VS Code itself](https://github.com/Microsoft/vscode).
86-
- ...and more. See [CONTRIBUTING.md](CONTRIBUTING.md) for details.
8784

8885
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
8986
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or

0 commit comments

Comments
 (0)