aboutsummaryrefslogtreecommitdiff
path: root/test/docker-outside-of-docker/scenarios.json
diff options
context:
space:
mode:
authorFelipe Santos <felipecassiors@gmail.com>2023-04-05 21:21:36 +0300
committerGitHub <noreply@github.com>2023-04-05 21:21:36 +0300
commit7f605b9452ac43316a0b81d78118c5dbe00ee26e (patch)
treea8eb37fb9914186c70b28d0f0d3cba8f77a307fe /test/docker-outside-of-docker/scenarios.json
parentf0dd470ba898bb62eb0fa425aa81e86072454167 (diff)
Fix several issues with docker-outside-of-docker (#443)feature_docker-outside-of-docker_1.2.0
* Fix several issues with docker-outside-of-docker * Add initial tests and bump version * Add two tests * Fix docker buildx conflict * Fix possible test issue * Add tests for moby * Add buildx test to init * Fix inconsistency * Many fixes and improvements * Make dockeDashCompose v2 by default
Diffstat (limited to 'test/docker-outside-of-docker/scenarios.json')
-rw-r--r--test/docker-outside-of-docker/scenarios.json113
1 files changed, 94 insertions, 19 deletions
diff --git a/test/docker-outside-of-docker/scenarios.json b/test/docker-outside-of-docker/scenarios.json
index ad9b072..be63470 100644
--- a/test/docker-outside-of-docker/scenarios.json
+++ b/test/docker-outside-of-docker/scenarios.json
@@ -1,44 +1,119 @@
{
+ "docker_init_moby": {
+ "image": "mcr.microsoft.com/devcontainers/base:ubuntu-20.04",
+ "features": {
+ "docker-outside-of-docker": {
+ "moby": true
+ }
+ },
+ "containerUser": "vscode"
+ },
"docker_init": {
- "image": "mcr.microsoft.com/devcontainers/base",
- "remoteUser": "vscode",
+ "image": "mcr.microsoft.com/devcontainers/base:ubuntu-20.04",
+ "features": {
+ "docker-outside-of-docker": {
+ "moby": false
+ }
+ },
+ "containerUser": "vscode"
+ },
+ "docker_init_ubuntu_22": {
+ "image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04",
"features": {
"docker-outside-of-docker": {
- "version": "latest"
+ "moby": false
}
- }
+ },
+ "containerUser": "vscode"
+ },
+ "docker_init_debian": {
+ "image": "mcr.microsoft.com/devcontainers/base:debian",
+ "features": {
+ "docker-outside-of-docker": {
+ "moby": false
+ }
+ },
+ "containerUser": "vscode"
},
"docker_build": {
- "image": "mcr.microsoft.com/devcontainers/javascript-node:0-18",
+ "image": "mcr.microsoft.com/devcontainers/base:ubuntu-20.04",
"features": {
"docker-outside-of-docker": {
- "version": "latest",
- "installDockerBuildx": true,
- "moby": "false",
+ "moby": false,
"dockerDashComposeVersion": "v2"
}
},
- "remoteUser": "node"
+ "containerUser": "vscode"
},
- "docker_build_2": {
- "image": "ubuntu:focal",
+ "docker_build_moby": {
+ "image": "mcr.microsoft.com/devcontainers/base:ubuntu-20.04",
"features": {
"docker-outside-of-docker": {
- "version": "latest",
- "moby": "false",
- "dockerDashComposeVersion": "v2"
+ "moby": true
}
- }
+ },
+ "containerUser": "vscode"
},
- "docker_build_older": {
- "image": "mcr.microsoft.com/devcontainers/javascript-node:0-18",
+ "docker_build_no_buildx": {
+ "image": "mcr.microsoft.com/devcontainers/base:ubuntu-20.04",
"features": {
"docker-outside-of-docker": {
"version": "20",
- "moby": "false",
+ "moby": false,
+ "installDockerBuildx": false
+ }
+ },
+ "containerUser": "vscode"
+ },
+ "docker_build_no_buildx_moby": {
+ "image": "mcr.microsoft.com/devcontainers/base:ubuntu-20.04",
+ "features": {
+ "docker-outside-of-docker": {
+ "version": "20",
+ "moby": true,
+ "installDockerBuildx": false
+ }
+ },
+ "containerUser": "vscode"
+ },
+ "docker_dash_compose_v1": {
+ "image": "mcr.microsoft.com/devcontainers/base:ubuntu-20.04",
+ "features": {
+ "docker-outside-of-docker": {
+ "moby": false,
+ "dockerDashComposeVersion": "v1"
+ }
+ },
+ "containerUser": "vscode"
+ },
+ "docker_dash_compose_v1_moby": {
+ "image": "mcr.microsoft.com/devcontainers/base:ubuntu-20.04",
+ "features": {
+ "docker-outside-of-docker": {
+ "moby": true,
+ "dockerDashComposeVersion": "v1"
+ }
+ },
+ "containerUser": "vscode"
+ },
+ "docker_dash_compose_v2": {
+ "image": "mcr.microsoft.com/devcontainers/base:ubuntu-20.04",
+ "features": {
+ "docker-outside-of-docker": {
+ "moby": false,
+ "dockerDashComposeVersion": "v2"
+ }
+ },
+ "containerUser": "vscode"
+ },
+ "docker_dash_compose_v2_moby": {
+ "image": "mcr.microsoft.com/devcontainers/base:ubuntu-20.04",
+ "features": {
+ "docker-outside-of-docker": {
+ "moby": true,
"dockerDashComposeVersion": "v2"
}
},
- "remoteUser": "node"
+ "containerUser": "vscode"
}
}