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

Commit f9c01a5

Browse files
authored
Update devcontainer.json
1 parent 6b3891a commit f9c01a5

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

containers/docker-existing-docker-compose/.devcontainer/devcontainer.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
"docker-compose.yml"
1010
],
1111

12-
// "Add any extensions you want auto-installed here."
13-
"extensions": [],
14-
1512
// "The 'service' property is the name of the service for the container that VS Code should"
1613
// "use. Update this value and .devcontainer/docker-compose.yml to the real service name."
1714
"service": "your-service-name-here",
@@ -20,8 +17,14 @@
2017
// "connected. This is typically a file mount in .devcontainer/docker-compose.yml"
2118
"workspaceFolder": "/workspace"
2219

20+
// "Add any extensions you want auto-installed here."
21+
"extensions": [],
22+
23+
// "Remove this line if you want to keep your containers running after VS Code shuts down."
24+
"shutdownAction": "stopCompose",
25+
2326
// "Other notes:"
24-
// "- The appPorts property is not supported in the Docker Compose case. Add the ports into"
27+
// "- The 'appPorts' property is not supported in the Docker Compose case. Add the ports into"
2528
// " the docker-compose.yml in the .devcontainer folder instead."
26-
// "- The runArgs property is also not supported."
29+
// "- The 'runArgs' property is also not supported."
2730
}

0 commit comments

Comments
 (0)