diff options
Diffstat (limited to 'test/docker-from-docker/docker_init.sh')
-rw-r--r-- | test/docker-from-docker/docker_init.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/docker-from-docker/docker_init.sh b/test/docker-from-docker/docker_init.sh new file mode 100644 index 0000000..2164921 --- /dev/null +++ b/test/docker-from-docker/docker_init.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +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" + +# Report result +reportResults
\ No newline at end of file |