Inconsistent waiting times for "Setup a remote Docker engine"

We see some inconsistent waiting times for “Setup a remote Docker engine”. It can vary from 2-3 seconds to 2 minute. This is affecting our build times.

Allocating a remote Docker Engine
Assigned Docker Engine request id: 209884
  waiting .................
Remote Docker engine created. Using VM 'default-1496142498598'
Created container accessible with:
  DOCKER_TLS_VERIFY=1
  DOCKER_HOST=tcp://35.190.143.149:2376
  DOCKER_CERT_PATH=/tmp/docker-certs047833258
  DOCKER_MACHINE_NAME=209884
2 Likes

I have also seen that sometimes it even times out. It looks like there just aren’t enough available docker engines sometimes.

Started to seeing this issue today, Aug 30, 8am MSK.

Same here. Often getting this:

Allocating a remote Docker Engine
Assigned Docker Engine request id: 1280123
  waiting .......................

Got error while creating host: VM creation failed
We had an unexpected error preparing a VM for this build, potentially due to our infrastructure or cloud provider.  Please retry the builds in few minutes minutes