aboutsummaryrefslogtreecommitdiff
path: root/test/docker-outside-of-docker/docker_init.sh
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/docker_init.sh
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/docker_init.sh')
-rw-r--r--test/docker-outside-of-docker/docker_init.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/docker-outside-of-docker/docker_init.sh b/test/docker-outside-of-docker/docker_init.sh
index 2164921..b47285e 100644
--- a/test/docker-outside-of-docker/docker_init.sh
+++ b/test/docker-outside-of-docker/docker_init.sh
@@ -5,11 +5,15 @@ set -e
# Optional: Import test library
source dev-container-features-test-lib
+check "docker buildx" bash -c "docker buildx version"
+check "docker compose" bash -c "docker compose version"
+check "docker-compose" bash -c "docker-compose --version"
+
check "docker-init-exists" bash -c "ls /usr/local/share/docker-init.sh"
check "log-exists" bash -c "ls /tmp/vscr-docker-from-docker.log"
check "log-contents-for-success" bash -c "cat /tmp/vscr-docker-from-docker.log | grep 'Success'"
check "log-contents" bash -c "cat /tmp/vscr-docker-from-docker.log | grep 'Proxying /var/run/docker-host.sock to /var/run/docker.sock for vscode'"
-check "docker-ps" bash -c "docker ps"
+check "docker-ps" bash -c "docker ps >/dev/null"
# Report result
reportResults \ No newline at end of file