aboutsummaryrefslogtreecommitdiff
path: root/src/docker-in-docker/feature.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/docker-in-docker/feature.json')
-rw-r--r--src/docker-in-docker/feature.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/src/docker-in-docker/feature.json b/src/docker-in-docker/feature.json
new file mode 100644
index 0000000..0eaaa80
--- /dev/null
+++ b/src/docker-in-docker/feature.json
@@ -0,0 +1,42 @@
+{
+ "id": "docker-in-docker",
+ "name": "Docker (Moby) support (Docker-in-Docker)",
+ "options": {
+ "version": {
+ "type": "string",
+ "proposals": ["latest", "20.10" ],
+ "default": "latest",
+ "description": "Select or enter a Docker/Moby Engine version. (Availability can vary by OS version.)"
+ },
+ "moby": {
+ "type": "boolean",
+ "default": true,
+ "description": "Install OSS Moby build instead of Docker CE"
+ },
+ "dockerDashComposeVersion": {
+ "type": "string",
+ "enum": ["v1", "v2" ],
+ "default": "v1",
+ "description": "Default version of Docker Compose (v1 or v2)"
+ }
+ },
+ "entrypoint": "/usr/local/share/docker-init.sh",
+ "privileged": true,
+ "containerEnv": {
+ "DOCKER_BUILDKIT": "1"
+ },
+ "extensions": [
+ "ms-azuretools.vscode-docker"
+ ],
+ "mounts": [
+ {
+ "source":"dind-var-lib-docker",
+ "target":"/var/lib/docker",
+ "type":"volume"
+ }
+ ],
+ "install": {
+ "app": "",
+ "file": "install.sh"
+ }
+} \ No newline at end of file