couchbase – [Errno 113] No route to host

I am trying to setup a Couchbase container using Docker on a CentOS machine. I installed the couchbase server but when i init a cluster via the following command i get [Errno 113] No route to host

couchbase-cli  cluster-init -c --cluster-init-username=admin --cluster- 
init-password=couchbase --cluster-init-ramsize=512

ERROR: command: cluster-init:, [Errno 113] No route to host

But the Couchbase server URL –

  • All job data lost when running Jenkins in Docker and when Jenkins container is stopped
  • Kubernetes services to be exposed to local machine
  • ansible-docker invalid container.yml
  • docker swarm - if the container in a service dies on an error, will the task be replicated elsewhere?
  • Docker-Compose: Composing with Dockerfiles that need relative imports
  • Building Docker image from Spring Boot Jar

    gives me a Couchbase home page with the setup button on the right bottom.

  • Can't download Docker machine from github
  • How can I connect to MongoDB on a Dokku host?
  • Docker-Compose can't connect to Docker Daemon
  • Docker Image for creating a windows virt and download files to it
  • GitLab CI runner can't connect to unix:///var/run/docker.sock in kubernetes
  • Centralized team development environment with docker
  • One Solution collect form web for “couchbase – [Errno 113] No route to host”

    It was a small issue. In the Dockerfile – if i try to access the couchbase host with IP, i am getting “No route to host” error but when i try “localhost” it works fine. Its a temporary fix i found as of now.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.