Public | Automated Build

Last pushed: 4 days ago
Short Description
Pre-configured couchbase-server
Full Description

Overview

NOTE: This Dockerfile is copied from couchbase/docker and contains modifications to make it more friendly for CI testing.

  • VOLUME removed, data will not persist when the container restarts (without manual VOLUME configuration)
  • Cluster and bucket are configured during docker build. Override any of the values using the --build-arg option during docker build:
    • CB_REST_USERNAME: Administrator
    • CB_REST_PASSWORD: password
    • RAM_SIZE_MB: 256
    • BUCKET: default
    • STARTUP_SLEEP: 30
    • ENABLE_FLUSH: 1 (default), or 0

Docker Hub

This image is hosted on Docker Hub.

docker run -d --name couchbase-server -p 8091-8094:8091-8094 -p 11210-11211:11210-11211 webpt/couchbase-server

Build

To build the couchbase-server container with default values:

docker build -t couchbase-server .

To build the couchbase-server container with a 512MB bucket named testing:

docker build --build-arg RAM_SIZE_MB=512 --build-arg BUCKET=testing -t couchbase-server .

To run the couchbase-server container:

docker run -d --name couchbase-server -p 8091-8094:8091-8094 -p 11210-11211:11210-11211 couchbase-server

Docker Pull Command
Owner
webpt
Source Repository

Comments (0)