This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
14 changes: 7 additions & 7 deletions
14
containers/docker-existing-docker-compose/.devcontainer/devcontainer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
{ | ||
"name": "Existing Docker Compose", | ||
|
||
// Update the dockerComposeFile list if you have more compose files or use different names. | ||
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make. | ||
|
||
"// Update the 'dockerComposeFile' list if you have more compose files or use different names.":"", | ||
"// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.":"", | ||
"dockerComposeFile": [ | ||
"docker-compose.yml", | ||
".devcontainer/docker-compose.yml" | ||
], | ||
|
||
// The "service" property is the name of the service for the container that VS Code should | ||
// use. Update this value and .devcontainer/docker-compose.yml to the real service name. | ||
"// The 'service' property is the name of the service for the container that VS Code should":"", | ||
"// use. Update this value and .devcontainer/docker-compose.yml to the real service name.":"", | ||
|
||
"service": "your-service-name-here", | ||
|
||
// The optonal "workspaceFolder" property is the path VS Code should open by default when | ||
// connected. This is typically a file mount in .devcontainer/docker-compose.yml | ||
"// The optonal 'workspaceFolder' property is the path VS Code should open by default when":"", | ||
"// connected. This is typically a file mount in .devcontainer/docker-compose.yml":"", | ||
|
||
"workspaceFolder": "/workspace" | ||
} |
12 changes: 6 additions & 6 deletions
12
containers/docker-existing-dockerfile/.devcontainer/devcontainer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
{ | ||
"name": "Existing Dockerfile", | ||
|
||
// Update the "dockerFile" property if you aren't using the standard 'Dockerfile' filename. | ||
"// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.":"", | ||
|
||
"dockerFile": "Dockerfile", | ||
|
||
// Use the optional "appPort" property to expose ports not already in your Dockerfile | ||
"// Use the optional 'appPort' property to expose ports not already in your Dockerfile":"", | ||
|
||
"appPort": [], | ||
|
||
// The optional "runArgs" property can be used to specify Docker CLI arguments to use when the container. | ||
// is started. If you install the Docker CE CLI in your container, the runArgs list below will lets you interact | ||
// with your host's Docker service from inside the container. See the docker-in-docker and docker-in-docker-compose | ||
// definitions for details. | ||
"// The optional 'runArgs' property can be used to specify Docker CLI arguments to use when the container.":"", | ||
"// is started. If you install the Docker CE CLI in your container, the runArgs list below will lets you interact":"", | ||
"// with your host's Docker service from inside the container. See the docker-in-docker and docker-in-docker-compose":"", | ||
"// definitions for details.":"", | ||
|
||
"runArgs": ["-v","/var/run/docker.sock:/var/run/docker.sock"] | ||
} |