Wait for Docker daemon to become available.