Skip to content

Problem creating docker-machine runners using Azure driver

The docker-machine Azure driver spins up Ubuntu 16.04 Azure VMs which reached EoL and the following failure signature was observed starting yesterday:

ERROR: Error creating machine: Error running provisioning: error installing docker:   driver=azure name=runner-xxxxxxxxxxxxxxxxx operation=create
ERROR: Machine creation failed                      error=exit status 1 name=runner-xxxxxxxxxxxxxxxxx time=2m49.295896111s

This issue is related #69 (closed) and #70

Workaround

Add the following option to docker-machine runner config:

    MachineOptions = [
      ........
      "azure-image=Canonical:UbuntuServer:18.04-LTS:latest",
      ........
    ]

This will spin up Ubuntu 18.04 docker machines and docker installation is working fine on it. It is able to service jobs as well.

Edited by Puneet Singh Sarna