Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      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@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

      __________________________________________________________________________________________

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

      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: =?UTF-8?B?RHXFoWFuIEJvZ2nEh2V2acSH?= <dusan.bogicevic@gmail.com>]

        Activity

        Hide
        knagin Kenneth Nagin added a comment -

        The issue has been emailed:

        • Time sent: 14/Sep/17 11:00 AM
        • To: dusan.bogicevic@gmail.com
        • with subject: *(HELP-12498) [Fiware-lab-help] DOCKER problem *

        eval "$(docker-machine env docker-host)" is basicly an ssh wrapper.

        You need to solve the credential problem before it can work.

        Show
        knagin Kenneth Nagin added a comment - The issue has been emailed: Time sent: 14/Sep/17 11:00 AM To: dusan.bogicevic@gmail.com with subject: *( HELP-12498 ) [Fiware-lab-help] DOCKER problem * eval "$(docker-machine env docker-host)" is basicly an ssh wrapper. You need to solve the credential problem before it can work.

          People

          • Assignee:
            knagin Kenneth Nagin
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: