aboutsummaryrefslogtreecommitdiff
path: root/src/docker-from-docker/devcontainer-feature.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/docker-from-docker/devcontainer-feature.json')
-rw-r--r--src/docker-from-docker/devcontainer-feature.json48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/docker-from-docker/devcontainer-feature.json b/src/docker-from-docker/devcontainer-feature.json
new file mode 100644
index 0000000..f9c5d28
--- /dev/null
+++ b/src/docker-from-docker/devcontainer-feature.json
@@ -0,0 +1,48 @@
+{
+ "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"
+ },
+ "docker_dash_compose_version": {
+ "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"
+ }
+} \ No newline at end of file