DockerCLI/scripts/test/e2e/wait-on-daemon

10 lines
184 B
Plaintext
Raw Permalink Normal View History

#!/usr/bin/env bash
set -eu -o pipefail
echo "Waiting for docker daemon to become available at $DOCKER_HOST"
while ! docker version > /dev/null; do
sleep 0.3
done
docker version