github.com/kaisenlinux/docker.io@v0.0.0-20230510090727-ea55db55fac7/cli/scripts/test/e2e/wait-on-daemon (about)

     1  #!/usr/bin/env bash
     2  set -eu -o pipefail
     3  
     4  echo "Waiting for docker daemon to become available at $DOCKER_HOST"
     5  while ! docker version > /dev/null; do
     6      sleep 0.3
     7  done
     8  
     9  docker version