1. unable to resolve host n1: Name or service not known

unable to resolve host n1: Name or service not known

Home Forums FABRIC General Questions and Discussion unable to resolve host n1: Name or service not known

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5767
    Mariyam Mapkar
    Participant

      Hello all,

      I recently created a slice in FABRIC and I was able to reserve it. However, when I try to install docker I am getting error; unable to resolve host n1

      n1 is the name of my node

      I tried resolving this issue several times but was unable to do so. can anybody provide me guidance on resolving this issue?

      I am attaching screenshots of my error as well

      Thanks

      #5770
      Vaiden Logan
      Participant

        Here is what I’ve been doing after the slice has been set up. I’m not really sure if there is a better way to fix this:

         

        command = ‘echo “127.0.0.1 $HOSTNAME” | sudo tee -a /etc/hosts’

        node1 = slice.get_node(name=node1_name)
        stdout, stderr = node1.execute(command)

        #5771
        Ilya Baldin
        Participant

          Also we do provide images with Docker pre-configured. There is a notebook in the examples that shows how to list available images, the docker ones are easy to tell apart since they have the word docker in them.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.