Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

machine create with --driver <none> could avoid ERRORS column #2518

Closed
askb opened this issue Dec 8, 2015 · 4 comments
Closed

machine create with --driver <none> could avoid ERRORS column #2518

askb opened this issue Dec 8, 2015 · 4 comments

Comments

@askb
Copy link
Contributor

askb commented Dec 8, 2015

Do we need to query the docker version and lengthy display errors with machine create with --driver <none> option ?

$ PATH="$PWD/bin:$PATH" bin/docker-machine --version 
docker-machine version 0.5.3-dev ( a86ae3c )
$ PATH="$PWD/bin:$PATH" bin/docker-machine ls 
NAME        ACTIVE   DRIVER       STATE     URL    SWARM   DOCKER    ERRORS
dev           -        virtualbox   Stopped                  Unknown   
stage        -        virtualbox   Stopped                  Unknown   
labapp      -        none         Running   none           Unknown   Unable to query docker version: Unable to read TLS config: open /home/user/.docker/machine/machines/labapp/server.pem: no such file or directory
labfoo      -        none         Running   none           Unknown   Unable to query docker version: Unable to read TLS config: open /home/user/.docker/machine/machines/labfoo/server.pem: no such file or directory
labfooapp   -        none         Running   none           Unknown   Unable to query docker version: Unable to read TLS config: open /home/user/.docker/machine/machines/labfooapp/server.pem: no such file or directory
testappengine   -        virtualbox   Error                    Unknown   machine does not exist
@askb askb mentioned this issue Dec 8, 2015
@dgageot
Copy link
Member

dgageot commented Dec 8, 2015

@askb The none driver is currently not working at all. When/if it is fixed, then it will support only hosts that have a proper docker daemon up and running. So the DOCKER column will contain the docker daemon version and the ERRORS column will hopefully be empty.

I think we could close this one. @askb I let you decide.

@askb
Copy link
Contributor Author

askb commented Dec 8, 2015

@dgageot thanks, it makes sense. closing this now.

@askb askb closed this as completed Dec 8, 2015
@s1rc0
Copy link

s1rc0 commented Jan 16, 2016

So, how best practice to add local server as docker-mashine?
I have installed docket-engine , laster i install docker-mashine, and when i trying create docker-mashine via
docker-machine create -d "none" --url=tcp://127.0.0.1:2376 h4
i getting
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
h4 - none Running tcp://127.0.0.1:2376 Unknown Unable to query docker version: Unable to read TLS config: open /root/.docker/machine/machines/h4/server.pem: no such file or directory

@dkirrane
Copy link

Same issue with Generic driver with docker-machine.exe version 0.5.6, build 61388e9
Is there an open bug that tracks the Unable to query docker version: Unable to read TLS config issue?
Is there a feature request open to handle registering existing docker hosts with machine?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants