Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Docker Development

Building Docker Containers

Each container is versioned and can be built locally using the following:

./gradlew :PROJECT-NAME:buildDocker

Where PROJECT-NAME is one of the subproject directories you see in the top level.

Setup

We recommend updating your local Docker service to use 8GB of memory. This is necessary when running dashboard previews locally. The preview is configured to run multiple Cassandra containers at once.

Available Docker Projects

Check the root project directory for subprojects prefixed with docker- to see available containerized components.

Local Testing

To test containers locally:

  1. Build the container:

    ./gradlew :docker-cassandra:buildDocker
    
  2. Run the container:

    docker run -it <image-name>
    

Memory Requirements

Use CaseRecommended Memory
Single container development4GB
Dashboard preview (multiple containers)8GB
Full integration testing16GB