- This topic has 2 replies, 3 voices, and was last updated 1 year, 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › FABRIC General Questions and Discussion › unable to resolve host n1: Name or service not known
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
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)
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.