I am running couchbase on docker. My machine: ubuntu 16.04
I've a Couchbase image. I'm running some curl commands to configure the Couchbase server and to create an admin user. Problem is, curl fails with error message Failed to connect to 127.0.0.1 port 8091: Connection refused. netstat does not show that port 8091 on the localhost is listening. those work! What am I missing?
I copy out this script : https://github.com/madhur/couchbase-docker/blob/master/couchbase/configure-node.sh
here is my Dockerfile all content:
FROM couchbase:community-4.0.0
COPY configure-node.sh /opt/couchbase
CMD ["/opt/couchbase/configure-node.sh"]
I changed Docker file From line like that: FROM couchbase/server
Then the connection error is finished. then I see this error: http://paste.ubuntu.com/23065389/
I didn't understand why and How can I fix it?
-p? Complete instructions at docs.docker.com/engine/examples/couchbase. - Arun Gupta