Giter Site home page Giter Site logo

Comments (2)

displague avatar displague commented on July 22, 2024
$ docker-machine ls 
NAME   ACTIVE   DRIVER   STATE     URL                        SWARM   DOCKER    ERRORS
foo    -        metal    Running   tcp://145.40.90.201:2376           Unknown   Unable to query docker version: Cannot connect to the docker engine endpoint
$ docker-machine env foo
Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "145.40.90.201:2376": dial tcp 145.40.90.201:2376: connect: connection refused
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which might stop running containers.
$ docker-machine regenerate-certs foo
Regenerate TLS machine certs?  Warning: this is irreversible. (y/n): y
Regenerating TLS certificates
Waiting for SSH to be available...
Detecting the provisioner...
Installing Docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...

(It looks like this will timeout)

I'm going to try changing the Docker install URL, per https://www.digitalocean.com/community/questions/unable-to-verify-the-docker-daemon-is-listening

from docker-machine-driver-metal.

displague avatar displague commented on July 22, 2024

Changing the engine URL is a work-around:

$ docker-machine create --engine-install-url "https://releases.rancher.com/install-docker/19.03.9.sh" --metal-metro-code=sv ... -d metal bar
Running pre-create checks...
Creating machine...
(bar) Creating SSH key...
(bar) Provisioning Equinix Metal server...
(bar) Created device ID 15876dc2-6ece-430f-8fe6-217e1f2d99cf, IP address 139.178.68.105
(bar) Waiting for Provisioning...
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...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env bar

from docker-machine-driver-metal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.