Compare commits

...

1 commit

Author SHA1 Message Date
Samruddhi Khandale
6a907ffdbd add options 2022-09-28 22:19:27 +00:00
5 changed files with 36 additions and 4 deletions

Binary file not shown.

View file

@ -28,6 +28,22 @@
],
"default": "v1",
"description": "Compose version to use for docker-compose (v1 or v2)"
},
"enableNonRootDocker": {
"type": "boolean",
"default": true,
"description": "Enable non-root Docker access in container"
},
"username": {
"type": "string",
"proposals": [
"vscode",
"codespace",
"none",
"automatic"
],
"default": "automatic",
"description": "Enter name of non-root user to configure or none to skip"
}
},
"entrypoint": "/usr/local/share/docker-init.sh",

View file

@ -10,11 +10,11 @@
DOCKER_VERSION=${VERSION:-"latest"}
USE_MOBY=${MOBY:-"true"}
DOCKER_DASH_COMPOSE_VERSION=${DOCKERDASHCOMPOSEVERSION:-"v1"} # v1 or v2
USERNAME=${USERNAME}
ENABLE_NONROOT_DOCKER=${ENABLE_NONROOT_DOCKER:-"true"}
ENABLE_NONROOT_DOCKER=${ENABLENONROOTDOCKER}
SOURCE_SOCKET=${SOURCE_SOCKET:-"/var/run/docker-host.sock"}
TARGET_SOCKET=${TARGET_SOCKET:-"/var/run/docker.sock"}
USERNAME=${USERNAME:-"automatic"}
MICROSOFT_GPG_KEYS_URI="https://packages.microsoft.com/keys/microsoft.asc"
DOCKER_MOBY_ARCHIVE_VERSION_CODENAMES="buster bullseye bionic focal jammy"

View file

@ -28,6 +28,22 @@
],
"default": "v1",
"description": "Default version of Docker Compose (v1 or v2)"
},
"enableNonRootDocker": {
"type": "boolean",
"default": true,
"description": "Enable non-root Docker access in container"
},
"username": {
"type": "string",
"proposals": [
"vscode",
"codespace",
"none",
"automatic"
],
"default": "automatic",
"description": "Enter name of non-root user to configure or none to skip"
}
},
"entrypoint": "/usr/local/share/docker-init.sh",

View file

@ -12,8 +12,8 @@ DOCKER_VERSION=${VERSION:-"latest"} # The Docker/Moby Engine + CLI should match
USE_MOBY=${MOBY:-"true"}
DOCKER_DASH_COMPOSE_VERSION=${DOCKERDASHCOMPOSEVERSION:-"v1"} # v1 or v2
ENABLE_NONROOT_DOCKER=${ENABLE_NONROOT_DOCKER:-"true"}
USERNAME=${USERNAME:-"automatic"}
ENABLE_NONROOT_DOCKER=${ENABLENONROOTDOCKER}
USERNAME=${USERNAME}
MICROSOFT_GPG_KEYS_URI="https://packages.microsoft.com/keys/microsoft.asc"
DOCKER_MOBY_ARCHIVE_VERSION_CODENAMES="buster bullseye bionic focal jammy"