Unverified Commit cf36e7ac authored by Samruddhi Khandale's avatar Samruddhi Khandale Committed by GitHub

docker-in-docker fix : Use ${devcontainerId} for volume name (#314)

Fix
parent d1972b4d
{ {
"id": "docker-in-docker", "id": "docker-in-docker",
"version": "1.0.9", "version": "2.0.0",
"name": "Docker (Docker-in-Docker)", "name": "Docker (Docker-in-Docker)",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/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.", "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 @@ ...@@ -55,7 +55,7 @@
}, },
"mounts": [ "mounts": [
{ {
"source": "dind-var-lib-docker", "source": "dind-var-lib-docker-${devcontainerId}",
"target": "/var/lib/docker", "target": "/var/lib/docker",
"type": "volume" "type": "volume"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment