Closed k-sae closed 2 years ago
This GitHub repo really isn't the right place to seek support for running the product. I'd suggest trying on the Couchbase Forums: https://forums.couchbase.com/
My best immediate guess about your problem is that your OS is configured to block some ports (iptables?), or that some security system like AppArmor is interfering with Docker's ability to listen on those ports or for your browser to connect to them. Another thing you could try would be to access http://127.0.0.1:8091/ rather than http://localhost:8091/ - I have seen cases where the former worked and the latter didn't, although I cannot explain why. As an experiment, try running
docker run -d -p 8091:80 nginx
and see if connecting to either http://127.0.0.1:8091/ or http://localhost:8091/ works.
In case it's helpful, a couple additional thoughts on the information you provided:
service
command isn't a meaningful thing to do.|grep couchbase
on your ps command, because inside a container, the only processes that should be running are the ones for the container itself (and, in your case, the interactive shell processes). You're filtering out a lot of processes that are part of Couchbase Server; not all of them have couchbase
anywhere on the line, since "ps" is truncating the username to couchba+
as you can see.couchbase
user, plus two owned by root
(runsvdir
and runsv
).babysitter.log
- somewhere in there (probably at the end) it should say "Booted. Waiting for shutdown request" if Server came fully online.
I am having trouble running the Couchbase using docker. No errors to the console and no errors to the logs. The command I am using:
output:
However, It refuses the connection whenever I connect to http://localhost:8091:
Here are services statuses on the docker image:
Here are the ports that are allocated on the docker image:
Here are the list of processes containing
couchbase
on the docker image:I have tried to check the
error logs
but the file is emptyThere are other logs files, Please let me know if I need to attach any of them.
The attempts I have tried and failed so far:
/etc/service/couchbase-server/run
SPECS: