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
Product Manager - CAO Kubernetes.