Skip to content

Commit 132ad73

Browse files
committed
Addition of instructions in .devcontainer/README.md file
1 parent 937ce83 commit 132ad73

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

.devcontainer/README.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,38 @@
1-
https://code.visualstudio.com/docs/devcontainers/tutorial
1+
Using DevContainers in Visual Studio Code: Quick step by step Start Guide
2+
3+
Step 1: Install Visual Studio Code
4+
Download and install Visual Studio Code from the official website: Visual Studio Code.
5+
6+
Step 2: Install Docker
7+
Ensure Docker is installed on your machine. You can download it from the official Docker website: Docker.
8+
9+
Step 3: Open a Project in Visual Studio Code
10+
Open the project you want to work on in Visual Studio Code.
11+
12+
Step 4: Install the Remote Development Extension Pack
13+
Install the "Remote Development" extension pack in Visual Studio Code. This pack includes extensions that enable you to work with development environments in containers, WSL, or SSH. You can find the extension pack here.
14+
15+
Step 5: Open the Command Palette
16+
Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS) to open the Command Palette.
17+
18+
Step 6: Choose a DevContainer Configuration
19+
Type and select "Remote-Containers: Add Development Container Configuration Files" from the Command Palette. Choose a predefined configuration (e.g., Node.js, Python, etc.) or select "Other" to create a custom configuration.
20+
21+
Step 7: Customize the DevContainer Configuration (Optional)
22+
If you selected "Other," customize the devcontainer.json file according to your project's needs, specifying the required tools, extensions, and settings for the DevContainer.
23+
24+
Step 8: Reopen the Project in a DevContainer
25+
Open the Command Palette again and select "Remote-Containers: Reopen in Container." Visual Studio Code will build the Docker image, set up the DevContainer, and reopen your project within the container.
26+
27+
Step 9: Work in the DevContainer
28+
You are now working within the DevContainer. Make your changes, write code, and use the integrated tools and extensions.
29+
30+
Step 10: Save and Commit Your Work
31+
Save your changes within the DevContainer. All changes are saved to your local workspace and are persistent across container restarts.
32+
33+
Step 11: Stop or Restart the DevContainer
34+
To stop the DevContainer, click on the bottom-left corner where it says "DevContainer" and choose "Stop Container." To restart, use "Reopen in Container" again.
35+
36+
37+
38+

0 commit comments

Comments
 (0)