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.
        FABRIC invites nominations for four awards recognizing innovative uses of FABRIC resources—Best Published Paper, Best FABRIC Matrix, Best FABRIC Experiment, and Best Classroom Use of FABRIC — submissions due by **Monday, February 24 at 11:59 PM ET**, and winners announced at KNIT10. [>>>Submit Form](https://docs.google.com/forms/d/e/1FAIpQLSeTp3i2iDhB7bHgN8ryMxZci8ya87yjeQd7_JMZImUodNinVA/viewform)

        KNIT10 Call for Demos Now Open! Submit your demo by **February 24**. [>>>Submit Demo](https://docs.google.com/forms/d/e/1FAIpQLScRIWqHliNP3DFWBCnalYN_fBXJXVM0PpP9YWWJdSebC95TvA/viewform)
        FABRIC invites nominations for four awards recognizing innovative uses of FABRIC resources—Best Published Paper, Best FABRIC Matrix, Best FABRIC Experiment, and Best Classroom Use of FABRIC — submissions due by **Monday, February 24 at 11:59 PM ET**, and winners announced at KNIT10. [>>>Submit Form](https://docs.google.com/forms/d/e/1FAIpQLSeTp3i2iDhB7bHgN8ryMxZci8ya87yjeQd7_JMZImUodNinVA/viewform)

        KNIT10 Call for Demos Now Open! Submit your demo by **February 24**. [>>>Submit Demo](https://docs.google.com/forms/d/e/1FAIpQLScRIWqHliNP3DFWBCnalYN_fBXJXVM0PpP9YWWJdSebC95TvA/viewform)