docker build was failing intermittently with 'cannot connect to the docker daemon' because the job started before the docker-dind sidecar finished starting up. Poll docker info until the daemon responds before attempting login/build/push.
docker build was failing intermittently with 'cannot connect to the docker daemon' because the job started before the docker-dind sidecar finished starting up. Poll docker info until the daemon responds before attempting login/build/push.