Question

Unable to verify the Docker daemon is listening

As I was following a tutorial on how to use docker-machine create I got stuck with docker-machine create --digitalocean-size “s-2vcpu-4gb” --driver digitalocean --digitalocean-access-token “token here” “server name”

Creating machine… (keycloakexperiment1) Creating SSH key… (keycloakexperiment1) Creating Digital Ocean droplet… (keycloakexperiment1) Waiting for IP address to be assigned to the Droplet… Waiting for machine to be running, this may take a few minutes… Detecting operating system of created instance… Waiting for SSH to be available… Detecting the provisioner… Provisioning with ubuntu(systemd)… Installing Docker… Copying certs to the local machine directory… Copying certs to the remote machine… Setting Docker configuration on the remote daemon… Error creating machine: Error running provisioning: Unable to verify the Docker daemon is listening: Maximum number of retries (10) exceeded It changes, nothing googled makes sense because any fix has to me enacted on creation.

Show comments

Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

Workaround:

docker-machine create \
        --driver digitalocean \
        --digitalocean-access-token $DOTOKEN \
        --engine-install-url "https://releases.rancher.com/install-docker/19.03.9.sh" \
        name;

Turns out, the issue is with the new Docker version. You can try the older version by supplying a URL from which the Docker Engine can be downloaded like this:

docker-machine create [other opts] --engine-install-url==https://releases.rancher.com/install-docker/19.03.9.sh

Yep, the same problem today

docker-machine create --driver digitalocean --digitalocean-image ubuntu-18-04-x64 --digitalocean-size s-1vcpu-1gb --digitalocean-region ams3 --digitalocean-access-token token name

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.