Docker Community Forums

Share and learn in the Docker community.

Docker-machine register existing docker host

I have docker-machine on my local Windows machines.
I have a number of other Ubuntu machines with docker already installed & I can ssh from Windows to each of these Ubuntu machines.

When I ran docker-machine create -d generic ... and then docker-machine ls I get
Unable to query docker version: Unable to read TLS config

Full output:
NAME ACTIVE URL STATE URL SWARM DOCKER ERRORS ubuntu1 - generic Running tcp://10.123.1.2:2376 Unknown Unable to query docker version: Unable to read TLS config: open C:\Users\myname\.docker\machin e\machines\ubuntu1\server.pem: The system cannot find the file specified.

2 Likes

Did you ever find out what the issue was? Having a similar problem but with AWS…