Ports 11210, 8091, and 8092 are exposed by default under randomly generated host ports. To make good use of the server, you probably want to specify your own.
If you'd like to preserve your data across invocations, you'll want to create space on the host to map in and set the ownership of that to 999 (couchbase user inside the container):
mkdir -p /home/core/data/couchbase
sudo chown 999:999 /home/core/data/couchbase
Example execution of that image using the above directory mapping:
sudo docker run -d -v /home/core/data/couchbase:/opt/couchbase/var -p 11210:11210 -p 8091:7081 -p 8092:8092 dustin/couchbase
The recipe I use to create this is in this gist.
Content type
Image
Digest
sha256:4afd65ce8…
Size
354.2 MB
Last updated
almost 11 years ago
docker pull dustin/couchbase