Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-14094

[fiware-askbot] Installing Docker on FIWARE Cloud Error

    Details

    • Type: Monitor
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2021
    • Component/s: None
    • Labels:
      None

      Description

      Created question in FIWARE Q/A platform on 27-04-2018 at 09:04
      Please, ANSWER this question AT https://ask.fiware.org/question/986/installing-docker-on-fiware-cloud-error/

      Question:
      Installing Docker on FIWARE Cloud Error

      Description:
      I am new with the Fiware and docker technologies so I need some help.

      I am following the instructions from this link http://simple-docker-hosting-on-fiwar... in order to create a docker-host machine on Fiware cloud but when I run the following command:

      docker-machine create -d openstack --openstack-flavor-id="2" --openstack-image-name="baseubuntu14.04" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="docker-sg" --openstack-ssh-user "ubuntu" docker-host

      I receive the following error:

      Error creating machine: Error running provisioning: Unable to verify the Docker daemon is listening: Maximum number of retries (10) exceeded
      Although, I can see the instance of the docker-host machine on Fiware cloud, but when I run the following command:

      eval "$(docker-machine env docker-host)"

      the following error comes up:

      Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "147.27.60.136:2376": dial tcp 147.27.60.136:2376: connectex: No connection could be made because the target machine actively refused it.
      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.**
      I also tried to regenerate the certificates:

      docker-machine regenerate-certs docker-host

      but I received the following error:

      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: 18.04.0-ce API version: 1.37 Go version: go1.9.4 Git commit: 3d479c0 Built: Tue Apr 10 18:21:14 2018 OS/Arch: linux/amd64 Experimental: false Orchestrator: swarm Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?**

      What am I doing wrong?

      I use docker community edition for windows 10.

      The docker version is:

      Client:

      Version: 18.03.0-ce
      API version: 1.37
      Go version: go1.9.4
      Git commit: 0520e24
      Built: Wed Mar 21 23:06:28 2018
      OS/Arch: windows/amd64
      Experimental: false
      Orchestrator: swarm
      Server:

      Version: 18.03.0-ce
      API version: 1.37 (minimum version 1.12)
      Go version: go1.9.4
      Git commit: 0520e24
      Built: Wed Mar 21 23:14:32 2018
      OS/Arch: linux/amd64
      Experimental: false

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        9d 17h 44m 1 José Ignacio Carretero Guarde 15/May/18 11:50 AM
        In Progress In Progress Answered Answered
        2s 1 José Ignacio Carretero Guarde 15/May/18 11:50 AM
        Answered Answered Closed Closed
        27s 1 José Ignacio Carretero Guarde 15/May/18 11:50 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        Description
        Created question in FIWARE Q/A platform on 27-04-2018 at 09:04
        {color: red}Please, ANSWER this question AT{color} https://ask.fiware.org/question/986/installing-docker-on-fiware-cloud-error/


        +Question:+
        Installing Docker on FIWARE Cloud Error

        +Description:+
        I am new with the Fiware and docker technologies so I need some help.

        I am following the instructions from this link http://simple-docker-hosting-on-fiwar... in order to create a docker-host machine on Fiware cloud but when I run the following command:

        docker-machine create -d openstack --openstack-flavor-id="2" --openstack-image-name="baseubuntu14.04" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="docker-sg" --openstack-ssh-user "ubuntu" docker-host

        I receive the following error:

        Error creating machine: Error running provisioning: Unable to verify the Docker daemon is listening: Maximum number of retries (10) exceeded
        Although, I can see the instance of the docker-host machine on Fiware cloud, but when I run the following command:

        eval "$(docker-machine env docker-host)"

        the following error comes up:

        Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "147.27.60.136:2376": dial tcp 147.27.60.136:2376: connectex: No connection could be made because the target machine actively refused it.
        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.**
        I also tried to regenerate the certificates:

        docker-machine regenerate-certs docker-host

        but I received the following error:

        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: 18.04.0-ce API version: 1.37 Go version: go1.9.4 Git commit: 3d479c0 Built: Tue Apr 10 18:21:14 2018 OS/Arch: linux/amd64 Experimental: false Orchestrator: swarm Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?**

        What am I doing wrong?

        I use docker community edition for windows 10.

        The docker version is:

        Client:

        Version: 18.03.0-ce
        API version: 1.37
        Go version: go1.9.4
        Git commit: 0520e24
        Built: Wed Mar 21 23:06:28 2018
        OS/Arch: windows/amd64
        Experimental: false
        Orchestrator: swarm
        Server:

        Version: 18.03.0-ce
        API version: 1.37 (minimum version 1.12)
        Go version: go1.9.4
        Git commit: 0520e24
        Built: Wed Mar 21 23:14:32 2018
        OS/Arch: linux/amd64
        Experimental: false
        Created question in FIWARE Q/A platform on 27-04-2018 at 09:04
        {color: red}Please, ANSWER this question AT{color} https://ask.fiware.org/question/986/installing-docker-on-fiware-cloud-error/


        +Question:+
        Installing Docker on FIWARE Cloud Error

        +Description:+
        I am new with the Fiware and docker technologies so I need some help.

        I am following the instructions from this link http://simple-docker-hosting-on-fiwar... in order to create a docker-host machine on Fiware cloud but when I run the following command:

        docker-machine create -d openstack --openstack-flavor-id="2" --openstack-image-name="baseubuntu14.04" --openstack-net-name="node-int-net-01" --openstack-floatingip-pool="public-ext-net-01" --openstack-sec-groups="docker-sg" --openstack-ssh-user "ubuntu" docker-host

        I receive the following error:

        Error creating machine: Error running provisioning: Unable to verify the Docker daemon is listening: Maximum number of retries (10) exceeded
        Although, I can see the instance of the docker-host machine on Fiware cloud, but when I run the following command:

        eval "$(docker-machine env docker-host)"

        the following error comes up:

        Error checking TLS connection: Error checking and/or regenerating the certs: There was an error validating certificates for host "147.27.60.136:2376": dial tcp 147.27.60.136:2376: connectex: No connection could be made because the target machine actively refused it.
        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.**
        I also tried to regenerate the certificates:

        docker-machine regenerate-certs docker-host

        but I received the following error:

        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: 18.04.0-ce API version: 1.37 Go version: go1.9.4 Git commit: 3d479c0 Built: Tue Apr 10 18:21:14 2018 OS/Arch: linux/amd64 Experimental: false Orchestrator: swarm Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?**

        What am I doing wrong?

        I use docker community edition for windows 10.

        The docker version is:

        Client:

        Version: 18.03.0-ce
        API version: 1.37
        Go version: go1.9.4
        Git commit: 0520e24
        Built: Wed Mar 21 23:06:28 2018
        OS/Arch: windows/amd64
        Experimental: false
        Orchestrator: swarm
        Server:

        Version: 18.03.0-ce
        API version: 1.37 (minimum version 1.12)
        Go version: go1.9.4
        Git commit: 0520e24
        Built: Wed Mar 21 23:14:32 2018
        OS/Arch: linux/amd64
        Experimental: false
        HD-Node Unknown [ 10852 ]
        jicg José Ignacio Carretero Guarde made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        jicg José Ignacio Carretero Guarde made changes -
        Assignee Alvaro Alonso [ aalonsog ] José Ignacio Carretero Guarde [ jicg ]
        jicg José Ignacio Carretero Guarde made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        jicg José Ignacio Carretero Guarde made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        veronika Veronika Vlnkova made changes -
        Field Original Value New Value
        Assignee Alvaro Alonso [ aalonsog ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-05-05 18:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-05-05 18:05|CREATED monitor | # answers= 0, accepted answer= False
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            jicg José Ignacio Carretero Guarde
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: