Couchbase shutdown in docker swarm

Running couchbase in a docker swarm shots down. Following this

I do the following on/in docker swarm:

docker network create -d overlay couchbase
docker service create --name couchbase-master -p 8091:8091 --replicas 1 --network couchbase -e TYPE=MASTER arungupta/couchbase:swarm

I can see that it is down with:

docker service ps couchbase-master

Note: I can run nginx and other services. Do you know how to debug/ see the log from Couchbase(not just the log from docker service logs)

Hi @issacthomas,

I would like to clarify few things
A. We don’t support Couchbase deployment on docker swarm. I would highly recommend you using ‘Couchbase Autonomous Operator for Kubernetes’. Below is the link to get started with our Kubernetes Operator.

B. We do support Couchbase deployment on Docker. On below mentioned link you can find more details on single & multi-node node docker deployment.

Talking about the couchbase-server logs,

By default, couchbase-server log files are saved in the following directories:
On Linux systems: /opt/couchbase/var/lib/couchbase/logs.
On MacOSP: /Users/username/Library/Application Support/Couchbase/var/lib/couchbase/logs.
On Windows: C:\Program Files\Couchbase\Server\var\lib\couchbase\logs.

However, I would like to look into an issue with docker swarm deployment. I would request you to provide the logs of your service on docker-swarm
docker service inspect couchbase-master
docker service logs couchbase-master

Also provide the output of the command you mentioned - docker service ps couchbase-master

Roshani S
Product Manager - CAO Kubernetes.