I need to have a local Couchbase cluster and replicate data from our prod cluster to it, it cannot be installed directly on OS X (due to vbuckets incompatibility - the prod cluster is in linux).
Docker for salvation. I managed to create a Dockerfile, you can see it here.
Now the cluster is working, it is available on the local network, all necessary ports are forwarded - I used the tricks described here
I successfully created a cluster link on the XDCR tab, but whenever I try to replicate the data in a bucket, it changes the hostname of the cluster to some insensitive IP address and creates a log entry:
Updated remote cluster `mycluster` hostname to "172.17.0.5:8091" because old one ("mylaptop.company.com:8091") is not part of the cluster anymore
I know that Couchbase is very sensitive to IP addresses, as you can see, instead I use the hostname of my machine (docker container host). I tried changing the name of the container using docker run -h , which didn't seem to help.
Has anyone, you guys installed XDCR with a cluster running in a docker container?
Agzam source share