couchbase - [Errno 113]没有东道主的路线

时间:2014-07-29 20:46:21

标签: docker couchbase

我正在尝试使用CentOS计算机上的Docker设置Couchbase容器。我安装了couchbase服务器但是当我通过以下命令启动集群时,我得到[Errno 113]没有到主机的路由

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

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

但是Couchbase服务器URL -

http://1.2.3.4:8091

给我一​​个Couchbase主页,右下角有设置按钮。

1 个答案:

答案 0 :(得分:0)

这是一个小问题。在Dockerfile中 - 如果我尝试使用IP访问couchbase主机,我得到"没有到主机的路由"错误,但当我尝试" localhost"它工作正常。它是我现在发现的一个临时修复。

相关问题