Couchbase 4.1 Docker Container

Couchbase Logo

Couchbase 4.1 was recently released. Highlights of this release are:

  • N1QL: Complete SQL CRUD Support with N1QL for Batch and OLTP Applications
  • Covering Indexes
  • Prepared Statements
  • Additional Supported Platforms

You can read all about it at Introducing Couchbase Server 4.1 and also watch a replay of Hands-on Introduction to What’s New in Couchbase 4.1:

Getting Started with Couchbase 4.1 and Docker

Use the following Docker Compose file:

to start a pre-configured Couchbase 4.1 Docker container:

This will:

  • Start Couchbase 4.1 Server (Dockerfile)
  • Configure it using Couchbase REST API as explained in Configure Couchbase Docker Container using REST API
    • Sets up memory and index quota
    • Sets up Query, Data, and Index service
    • Configures username and password credentials
    • Install travel-sample bucket

The logs can be seen as:

Connect to CBQ (Couchbase Query tool):

Learn more about Running N1QL Queries from Command Line.

Stop the server:

Remove the container:

Read more about Couchbase 4.1:

  • What’s New in Couchbase Server 4.1 documentation
  • Download Couchbase Server 4.1
  • Couchbase Server documentation
  • Release Notes for 4.1
  • Couchbase ODBC and JDBC Drivers with SQL Connector

Share feedback with us at or Stackoverflow.


Be Sociable, Share!
  • Tweet

4 thoughts on “Couchbase 4.1 Docker Container

  1. Pingback: Couchbase 4.1 Docker Container | Developer Agent
  2. Able to run the app/rest web service via(
    However, when I hit the above URL in some other machine, it returns nothing/blank.

    I understand is a private ip but how I can run my application from ‘anywhere’?

  3. Hey, After a long hunt here we have found out one of the best portal which will let you know about all exact ways to add control panel to desktop in windows 10 and will also help you to clarify all your hurdles. So if facing same problems so make use of this platform.

  4. I know that information from will help you to learn more about USA high schools. You can use it in your academic future

Leave a Reply

Your email address will not be published. Required fields are marked *