This repository was archived by the owner on Aug 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer-feature.json
More file actions
58 lines (58 loc) · 1.53 KB
/
Copy pathdevcontainer-feature.json
File metadata and controls
58 lines (58 loc) · 1.53 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"id": "dind",
"version": "1.1.0",
"name": "docker-in-docker",
"documentationURL": "https://github.com/nikaro/features/tree/main/src/dind",
"description": "",
"options": {
"version": {
"default": "",
"description": "Version to install. If not specified, the latest version will be installed.",
"proposals": ["23.0.6"],
"type": "string"
},
"buildx_version": {
"default": "",
"description": "Version to install. If not specified, the latest version will be installed.",
"proposals": ["0.10.4"],
"type": "string"
},
"compose_version": {
"default": "",
"description": "Version to install. If not specified, the latest version will be installed.",
"proposals": ["2.18.1"],
"type": "string"
},
"username": {
"default": "vscode",
"description": "Username to add to the docker group.",
"type": "string"
}
},
"customizations": {
"vscode": {
"extensions": ["ms-azuretools.vscode-docker"]
}
},
"installsAfter": ["ghcr.io/nikaro/features/packages"],
"entrypoint": "/dockerd-entrypoint.sh",
"privileged": true,
"containerEnv": {
"DOCKER_BUILDKIT": "1"
},
"postStartCommand": {
"docker-sock-chgrp": "sudo chgrp docker /var/run/docker.sock"
},
"mounts": [
{
"source": "dind-var-lib-docker-${devcontainerId}",
"target": "/var/lib/docker",
"type": "volume"
},
{
"source": "/var/run/docker.sock",
"target": "/var/run/docker.sock",
"type": "bind"
}
]
}