Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker-machine not configured #65

Closed
shitana opened this issue Dec 27, 2016 · 2 comments
Closed

Docker-machine not configured #65

shitana opened this issue Dec 27, 2016 · 2 comments

Comments

@shitana
Copy link

shitana commented Dec 27, 2016

Hello,

Thanks so much for this tutoriel :).

There is a little problem with docker-machine, it isn't configured on the node1.

I tried to configure it manually but it doesn't work (at least for me!)

vagrant@node1:~$ docker-machine create --driver generic --generic-ip-address=10.10.10.30 --generic-ssh-key private-key --generic-ssh-user=vagrant node3
Running pre-create checks...
Creating machine...
(node3) Importing SSH key...
(node3) Couldn't copy SSH public key : unable to copy ssh key: open private-key.pub: no such file or directory
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(upstart)...
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...
Error creating machine: Error checking the host: Error checking and/or regenerating the certs: There was an error validating certificates for host "10.10.10.30:2376": read tcp 10.10.10.10:43804->10.10.10.30:2376: read: connection reset by peer

You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
Be advised that this will trigger a Docker daemon restart which will stop running containers.

@jpetazzo
Copy link
Owner

jpetazzo commented Jan 3, 2017

Hi! Which method did you use to create the nodes?

(docker-machine is pre-configured only when using the prepare-vms scripts; if you use another method, you will have to do some adaptations in the content!)

@shitana
Copy link
Author

shitana commented Jan 4, 2017

Thnx a lot,

In fact, i used prepare-local instead of prepare-vms !!
I will try this method :)

@jpetazzo jpetazzo closed this as completed May 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants