[Fiware-lab-help] DOCKER problem

Dušan Bogićević dusan.bogicevic at gmail.com
Wed Jul 26 21:49:10 CEST 2017


Hello,

I have problem with connection to FIWARE VM. I have watched your tutorial
http://130.206.127.189/04/, and I'm not able to run this command:



*eval "$(docker-machine env docker-host)"*
I had try 5-6 times to make VM from beginning, but i didn't have luck. I
have try to connect from Putty, and its works, also ping is going (security
group is set ICMP form -1 to -1), i turn off firewall, and antivirus
program, and nothing have happened. Of course i have installed Docker for
Windows, i have made VM using Docker like in tutorial, but at the and i got
message like this

Running pre-create checks...
Creating machine...
(docker-host) Creating machine...
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 *
*        "130.206.122.240:2376 <http://130.206.122.240:2376>": *
*        read tcp 192.168.0.101:50507->130.206.122.240:2376
<http://130.206.122.240:2376>:*
*     wsarecv: *
*        An existing connection was forcibly closed by the remote host.*
*        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.*

After that i have tried execute this command (eval "$(docker-machine env
docker-host)", and i got  error from DOCKER terminal like this:










*$ eval "$(docker-machine env docker-host)"Error checking TLS connection:
Error checking and/or regenerating the certs: There was an error validating
certificates for host "130.206.122.241:2376 <http://130.206.122.241:2376>":
read tcp 192.168.0.101:53367->130.206.122.241:2376
<http://130.206.122.241:2376>: wsarecv: An existing connection was forcibly
closed by the remote host.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.*

Then i tried this command

*docker-machine regenerate-certs docker-host, and error is like this:*
*Error getting SSH command to check if the daemon is up: ssh command error:*
*command : sudo docker version*
*err     : exit status 1*
*output  : Client:*
* Version:      17.06.0-ce*
* API version:  1.30*
* Go version:   go1.8.3*
* Git commit:   02c1d87*
* Built:        Fri Jun 23 21:19:16 2017*
* OS/Arch:      linux/amd64*


*Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the
docker daemon running?*
Using putty i tried to get  DOCKER version, and i got this (using this
command:  *docker version*):










*ubuntu at docker-host:~$ docker versionClient: Version:      17.06.0-ce API
version:  1.30 Go version:   go1.8.3 Git commit:   02c1d87 Built:
Fri Jun 23 21:19:16 2017 OS/Arch:      linux/amd64Got permission denied
while trying to connect to the Docker daemon socket at
unix:///var/run/docker.sock: Get
http://%2Fvar%2Frun%2Fdocker.sock/v1.30/version: dial unix
/var/run/docker.sock: connect: permission denied*

Also i tried to run on VM using Putty *docker-compose.yml*, but it doesn't
pass. I don't have idea what can i to try else...

Thank you very much,
and best regards!

Dusan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-lab-help/attachments/20170726/74ee40db/attachment.html>


More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy