aboutsummaryrefslogtreecommitdiff
path: root/src/docker-from-docker/feature.json
blob: ce955a7e409e4c6d14eb62ba02331ec421a6b87d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
    "id": "docker-from-docker",
    "name": "Docker (Moby) support, reuse host Docker Engine (Docker-from-Docker)",
    "options": {
        "version": {
            "type": "string",
            "proposals": ["latest", "none", "20.10"],
            "default": "latest",
            "description": "Select or enter a Docker/Moby CLI 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": "Compose version to use for docker-compose (v1 or v2)"
        }
    },
    "entrypoint": "/usr/local/share/docker-init.sh",
    "containerEnv": {
        "DOCKER_BUILDKIT": "1"
    },
    "extensions": [
        "ms-azuretools.vscode-docker"
    ],
    "mounts": [
        {
            "source":"/var/run/docker.sock", 
             "target":"/var/run/docker-host.sock", 
             "type":"bind"
        }
    ],
    "install": {
        "app": "",
        "file": "install.sh"
    }
}