Common Development Container
252
Common DevContainer is a Docker container to be used with Visual Studio Code Remote - Containers extension for developing software inside a Docker container
Microsoft builds and maintains development containers to support a range of programming languages and runtimes, individually. This project integrates several common and popular languages and runtimes into a single development container
The latest version of this project supports the following languages:
.devcontainerdocker build -t <yourContainerRegistry>/<yourImage>:<yourTag> .
The fastest and easiest way to use Common DevContainer is to create the file devcontainer.json in the .devcontainer, which should be at the root of your project path, then open the project in VS Code. VS Code would then prompt you to reopen the project in a remote container
The detail steps are as follows:
Go to your project root directory, for example:
cd /path/to/myProjectDir/
Create the .devcontainer directory:
mkdir .devcontainer
cd .devcontainer
Create a file named devcontainer.json inside the directory .devcontainer
Copy or customize the content from the sample file to your version of devcontainer.json
Open the project directory in VS Code:
code /path/to/myProjectDir/
VS Code would detect there is a .devcontainer/devcontainer.json file in your project directory and would prompt you to reopen the project in a development container
If you do not see the above prompt, run the Remote-Containers: Open Folder in Container... command from the Command Palette (F1)
You are all set. You may open the terminal to operate the files inside the container
.devcontainer/devcontainer.json.devcontainer/devcontainer.jsonContent type
Image
Digest
sha256:222e1aba7…
Size
833.2 MB
Last updated
about 4 years ago
docker pull frankyuen/common-devcontainer