RKE not working within Terraform

Hi guys,

I’m trying to provision a cluster with Terraform and Terraform’s RKE provider into AWS. However, I’m getting the following error:

Failed to set up SSH tunneling for host [xxx] Can’t retrieve Docker Info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Can anyone cast any light on this?

Docker seems to be installed, as I can connect via SSH and run ‘docker ps’.

Thanks,

John