aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-11-30 04:08:10 +0300
committerGitHub <noreply@github.com>2022-11-30 04:08:10 +0300
commitcf36e7ac3aa76ddf73cdcb082aee4ccdd8b58a08 (patch)
tree0841b29c404a9ce5cc883cabfbf2ecaf264f0cfd
parentd1972b4d8d2dc75370c236c9dafe505ea42590f2 (diff)
docker-in-docker fix : Use ${devcontainerId} for volume name (#314)
Fix
-rw-r--r--src/docker-in-docker/devcontainer-feature.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/docker-in-docker/devcontainer-feature.json b/src/docker-in-docker/devcontainer-feature.json
index 95d6841..0ac565e 100644
--- a/src/docker-in-docker/devcontainer-feature.json
+++ b/src/docker-in-docker/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "docker-in-docker",
- "version": "1.0.9",
+ "version": "2.0.0",
"name": "Docker (Docker-in-Docker)",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/docker-in-docker",
"description": "Create child containers *inside* a container, independent from the host's docker instance. Installs Docker extension in the container along with needed CLIs.",
@@ -55,7 +55,7 @@
},
"mounts": [
{
- "source": "dind-var-lib-docker",
+ "source": "dind-var-lib-docker-${devcontainerId}",
"target": "/var/lib/docker",
"type": "volume"
}