diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2023-01-04 22:52:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-04 22:52:05 +0300 |
commit | eef35a4399a17546051fc5597440d38c36022f06 (patch) | |
tree | cdcd9e78f9403a39219e3129871e373af1b6909d /src/docker-outside-of-docker/devcontainer-feature.json | |
parent | 6c76a7b4883a2639cedf805ed786b5b84100841d (diff) |
Rename "docker-from-docker" to "docker-outside-of-docker" (#373)
* Rename to "docker-outside-of-docker"
* rename test folder
Diffstat (limited to 'src/docker-outside-of-docker/devcontainer-feature.json')
-rw-r--r-- | src/docker-outside-of-docker/devcontainer-feature.json | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/src/docker-outside-of-docker/devcontainer-feature.json b/src/docker-outside-of-docker/devcontainer-feature.json new file mode 100644 index 0000000..69aa2f4 --- /dev/null +++ b/src/docker-outside-of-docker/devcontainer-feature.json @@ -0,0 +1,57 @@ +{ + "id": "docker-outside-of-docker", + "version": "1.0.9", + "name": "Docker (docker-outside-of-docker)", + "documentationURL": "https://github.com/devcontainers/features/tree/main/src/docker-outside-of-docker", + "description": "Re-use the host docker socket, adding the Docker CLI to a container. Feature invokes a script to enable using a forwarded Docker socket within a container to run Docker commands.", + "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" + }, + "customizations": { + "vscode": { + "extensions": [ + "ms-azuretools.vscode-docker" + ] + } + }, + "mounts": [ + { + "source": "/var/run/docker.sock", + "target": "/var/run/docker-host.sock", + "type": "bind" + } + ], + "installsAfter": [ + "ghcr.io/devcontainers/features/common-utils" + ], + "legacyIds": [ + "docker-from-docker" + ] +} |