I changed the docker root directory from /var/lib/docker to /home/lib/docker because I was running out of space.
- Stopped docker
- moved all files from /var/lib/docker to /home/lib/docker
- and rm -rf /var/lib/docker
- then made a symbolic link using
- ln -s /home/lib/docker /var/lib/docker
- Finally restarted the docker service.
Now, RAP is throwing error:
Failed to initialize Rancher Metadata client: Get http://rancher-metadata/latest/version: dial tcp: lookup rancher-metadata
I changed the docker root directory from /var/lib/docker to /home/lib/docker because I was running out of space.
Now, RAP is throwing error:
Failed to initialize Rancher Metadata client: Get http://rancher-metadata/latest/version: dial tcp: lookup rancher-metadata
What is wrong?