|
1 | 1 | { |
2 | | - "id": "docker-in-docker", |
3 | | - "version": "2.14.0", |
4 | | - "name": "Docker (Docker-in-Docker)", |
5 | | - "documentationURL": "https://github.com/devcontainers/features/tree/main/src/docker-in-docker", |
6 | | - "description": "Create child containers *inside* a container, independent from the host's docker instance. Installs Docker extension in the container along with needed CLIs.", |
7 | | - "options": { |
8 | | - "version": { |
9 | | - "type": "string", |
10 | | - "proposals": [ |
11 | | - "latest", |
12 | | - "none", |
13 | | - "20.10" |
14 | | - ], |
15 | | - "default": "latest", |
16 | | - "description": "Select or enter a Docker/Moby Engine version. (Availability can vary by OS version.)" |
17 | | - }, |
18 | | - "moby": { |
19 | | - "type": "boolean", |
20 | | - "default": true, |
21 | | - "description": "Install OSS Moby build instead of Docker CE" |
22 | | - }, |
23 | | - "mobyBuildxVersion": { |
24 | | - "type": "string", |
25 | | - "default": "latest", |
26 | | - "description": "Install a specific version of moby-buildx when using Moby" |
27 | | - }, |
28 | | - "dockerDashComposeVersion": { |
29 | | - "type": "string", |
30 | | - "enum": [ |
31 | | - "none", |
32 | | - "v1", |
33 | | - "v2" |
34 | | - ], |
35 | | - "default": "v2", |
36 | | - "description": "Default version of Docker Compose (v1, v2 or none)" |
37 | | - }, |
38 | | - "azureDnsAutoDetection": { |
39 | | - "type": "boolean", |
40 | | - "default": true, |
41 | | - "description": "Allow automatically setting the dockerd DNS server when the installation script detects it is running in Azure" |
42 | | - }, |
43 | | - "dockerDefaultAddressPool": { |
44 | | - "type": "string", |
45 | | - "default": "", |
46 | | - "proposals": [], |
47 | | - "description": "Define default address pools for Docker networks. e.g. base=192.168.0.0/16,size=24" |
48 | | - }, |
49 | | - "installDockerBuildx": { |
50 | | - "type": "boolean", |
51 | | - "default": true, |
52 | | - "description": "Install Docker Buildx" |
53 | | - }, |
54 | | - "installDockerComposeSwitch": { |
55 | | - "type": "boolean", |
56 | | - "default": false, |
57 | | - "description": "Install Compose Switch (provided docker compose is available) which is a replacement to the Compose V1 docker-compose (python) executable. It translates the command line into Compose V2 docker compose then runs the latter." |
58 | | - }, |
59 | | - "disableIp6tables": { |
60 | | - "type": "boolean", |
61 | | - "default": false, |
62 | | - "description": "Disable ip6tables (this option is only applicable for Docker versions 27 and greater)" |
63 | | - } |
| 2 | + "id": "docker-in-docker", |
| 3 | + "version": "2.16.0", |
| 4 | + "name": "Docker (Docker-in-Docker)", |
| 5 | + "documentationURL": "https://github.com/devcontainers/features/tree/main/src/docker-in-docker", |
| 6 | + "description": "Create child containers *inside* a container, independent from the host's docker instance. Installs Docker extension in the container along with needed CLIs.", |
| 7 | + "options": { |
| 8 | + "version": { |
| 9 | + "type": "string", |
| 10 | + "proposals": [ |
| 11 | + "latest", |
| 12 | + "none", |
| 13 | + "20.10" |
| 14 | + ], |
| 15 | + "default": "latest", |
| 16 | + "description": "Select or enter a Docker/Moby Engine version. (Availability can vary by OS version.)" |
64 | 17 | }, |
65 | | - "entrypoint": "/usr/local/share/docker-init.sh", |
66 | | - "privileged": true, |
67 | | - "containerEnv": { |
68 | | - "DOCKER_BUILDKIT": "1" |
| 18 | + "moby": { |
| 19 | + "type": "boolean", |
| 20 | + "default": true, |
| 21 | + "description": "Install OSS Moby build instead of Docker CE" |
69 | 22 | }, |
70 | | - "customizations": { |
71 | | - "vscode": { |
72 | | - "extensions": [ |
73 | | - "ms-azuretools.vscode-containers" |
74 | | - ], |
75 | | - "settings": { |
76 | | - "github.copilot.chat.codeGeneration.instructions": [ |
77 | | - { |
78 | | - "text": "This dev container includes the Docker CLI (`docker`) pre-installed and available on the `PATH` for running and managing containers using a dedicated Docker daemon running inside the dev container." |
79 | | - } |
80 | | - ] |
81 | | - } |
82 | | - } |
| 23 | + "mobyBuildxVersion": { |
| 24 | + "type": "string", |
| 25 | + "default": "latest", |
| 26 | + "description": "Install a specific version of moby-buildx when using Moby" |
83 | 27 | }, |
84 | | - "mounts": [ |
85 | | - { |
86 | | - "source": "dind-var-lib-docker-${devcontainerId}", |
87 | | - "target": "/var/lib/docker", |
88 | | - "type": "volume" |
89 | | - } |
90 | | - ], |
91 | | - "installsAfter": [ |
92 | | - "ghcr.io/devcontainers/features/common-utils" |
93 | | - ] |
| 28 | + "dockerDashComposeVersion": { |
| 29 | + "type": "string", |
| 30 | + "enum": [ |
| 31 | + "none", |
| 32 | + "v1", |
| 33 | + "v2" |
| 34 | + ], |
| 35 | + "default": "v2", |
| 36 | + "description": "Default version of Docker Compose (v1, v2 or none)" |
| 37 | + }, |
| 38 | + "azureDnsAutoDetection": { |
| 39 | + "type": "boolean", |
| 40 | + "default": true, |
| 41 | + "description": "Allow automatically setting the dockerd DNS server when the installation script detects it is running in Azure" |
| 42 | + }, |
| 43 | + "dockerDefaultAddressPool": { |
| 44 | + "type": "string", |
| 45 | + "default": "", |
| 46 | + "proposals": [], |
| 47 | + "description": "Define default address pools for Docker networks. e.g. base=192.168.0.0/16,size=24" |
| 48 | + }, |
| 49 | + "installDockerBuildx": { |
| 50 | + "type": "boolean", |
| 51 | + "default": true, |
| 52 | + "description": "Install Docker Buildx" |
| 53 | + }, |
| 54 | + "installDockerComposeSwitch": { |
| 55 | + "type": "boolean", |
| 56 | + "default": false, |
| 57 | + "description": "Install Compose Switch (provided docker compose is available) which is a replacement to the Compose V1 docker-compose (python) executable. It translates the command line into Compose V2 docker compose then runs the latter." |
| 58 | + }, |
| 59 | + "disableIp6tables": { |
| 60 | + "type": "boolean", |
| 61 | + "default": false, |
| 62 | + "description": "Disable ip6tables (this option is only applicable for Docker versions 27 and greater)" |
| 63 | + } |
| 64 | + }, |
| 65 | + "entrypoint": "/usr/local/share/docker-init.sh", |
| 66 | + "privileged": true, |
| 67 | + "containerEnv": { |
| 68 | + "DOCKER_BUILDKIT": "1" |
| 69 | + }, |
| 70 | + "customizations": { |
| 71 | + "vscode": { |
| 72 | + "extensions": [ |
| 73 | + "ms-azuretools.vscode-containers" |
| 74 | + ], |
| 75 | + "settings": { |
| 76 | + "github.copilot.chat.codeGeneration.instructions": [ |
| 77 | + { |
| 78 | + "text": "This dev container includes the Docker CLI (`docker`) pre-installed and available on the `PATH` for running and managing containers using a dedicated Docker daemon running inside the dev container." |
| 79 | + } |
| 80 | + ] |
| 81 | + } |
| 82 | + } |
| 83 | + }, |
| 84 | + "mounts": [ |
| 85 | + { |
| 86 | + "source": "dind-var-lib-docker-${devcontainerId}", |
| 87 | + "target": "/var/lib/docker", |
| 88 | + "type": "volume" |
| 89 | + } |
| 90 | + ], |
| 91 | + "installsAfter": [ |
| 92 | + "ghcr.io/devcontainers/features/common-utils" |
| 93 | + ] |
94 | 94 | } |
0 commit comments