Skip to content

Commit

Permalink
cleanup commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kumari-anupam authored and devopstoday11 committed Feb 5, 2024
1 parent 98b7c08 commit 916cffa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
## How to Use Devcontainer in Visual Studio Code

**Prerequisite**
**Pre-requisite**

Install "Dev Containers" extension in VS Code.

**Open Devcontainer**

Open the command palette Ctrl+Shift+P and selecting the **Dev Containers: Rebuild and Reopen in Container command**.
Open the command palette Ctrl+Shift+P and selecting the **Dev Containers: Rebuild and Reopen in Container** command.

**Close Devcontainer**

Open the Command Palette (Ctrl+Shift+P) and select the **Remote: Close Remote Connection command**.
Open the Command Palette (Ctrl+Shift+P) and select the **Remote: Close Remote Connection** command.
3 changes: 1 addition & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@
"dockerfile": "Dockerfile"
},
"remoteUser": "root",
"mounts": ["source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"],
"runArgs": ["--privileged", "--network=host", "-p", "22:22", "-p", "80:80", "-p", "2375:2375", "-p", "8443:8443"]
"mounts": ["source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"]
}

0 comments on commit 916cffa

Please sign in to comment.