Docker Image Quick Reference

May 18, 2026 ยท View on GitHub

Quick reference for NornicDB Docker images and common commands.

๐Ÿ“ฆ Production Images

PlatformArchitectureGPU SupportImageCommand
Apple SiliconARM64Metaltimothyswt/nornicdb-arm64-metal-bgedocker run -d -p 7474:7474 -p 7687:7687 -v nornicdb-data:/data timothyswt/nornicdb-arm64-metal-bge:latest
NVIDIA GPUAMD64CUDAtimothyswt/nornicdb-amd64-cuda-bgedocker run -d --gpus all -p 7474:7474 -p 7687:7687 -v nornicdb-data:/data timothyswt/nornicdb-amd64-cuda-bge:latest
CPU OnlyAMD64Nonetimothyswt/nornicdb-amd64-cpudocker run -d -p 7474:7474 -p 7687:7687 -v nornicdb-data:/data timothyswt/nornicdb-amd64-cpu:latest

๐Ÿ› ๏ธ Development Images

PlatformArchitectureFeaturesImageCommand
Apple SiliconARM64Metal + Heimdall AItimothyswt/nornicdb-arm64-metal-bge-heimdalldocker run -d -p 7474:7474 -p 7687:7687 -v nornicdb-data:/data timothyswt/nornicdb-arm64-metal-bge-heimdall:latest
NVIDIA GPUAMD64CUDA + Heimdall AItimothyswt/nornicdb-amd64-cuda-bge-heimdalldocker run -d --gpus all -p 7474:7474 -p 7687:7687 -v nornicdb-data:/data timothyswt/nornicdb-amd64-cuda-bge-heimdall:latest

Quick Start Commands

Basic Setup

# Apple Silicon (Mac)
docker run -d \
  --name nornicdb \
  -p 7474:7474 \
  -p 7687:7687 \
  -v nornicdb-data:/data \
  timothyswt/nornicdb-arm64-metal-bge:latest

# NVIDIA GPU (Linux)
docker run -d \
  --name nornicdb \
  --gpus all \
  -p 7474:7474 \
  -p 7687:7687 \
  -v nornicdb-data:/data \
  timothyswt/nornicdb-amd64-cuda-bge:latest

# CPU Only (Windows/Linux)
docker run -d \
  --name nornicdb \
  -p 7474:7474 \
  -p 7687:7687 \
  -v nornicdb-data:/data \
  timothyswt/nornicdb-amd64-cpu:latest

With Authentication

Authentication and access-control settings are documented centrally in the Environment Variables Reference. Use this page for image selection and container commands, and use the operations docs for the supported auth configuration surface.

docker run -d \
  --name nornicdb \
  -p 7474:7474 \
  -p 7687:7687 \
  -v nornicdb-data:/data \
  -e NORNICDB_EMBEDDING_ENABLED=true \
  -e NORNICDB_EMBEDDING_PROVIDER=ollama \
  -e NORNICDB_EMBEDDING_MODEL=mxbai-embed-large \
  timothyswt/nornicdb-arm64-metal-bge:latest

Low Memory Mode

docker run -d \
  --name nornicdb \
  -p 7474:7474 \
  -p 7687:7687 \
  -v nornicdb-data:/data \
  -e NORNICDB_LOW_MEMORY=true \
  timothyswt/nornicdb-arm64-metal-bge:latest

๐Ÿ”ง Common Operations

Container Management

# View logs
docker logs nornicdb

# Follow logs
docker logs -f nornicdb

# Stop container
docker stop nornicdb

# Start container
docker start nornicdb

# Remove container
docker rm nornicdb

# Access shell
docker exec -it nornicdb sh

Data Management

# Backup data
docker run --rm \
  -v nornicdb-data:/data \
  -v $(pwd):/backup \
  alpine tar czf /backup/nornicdb-backup-$(date +%Y%m%d).tar.gz -C /data .

# Restore data
docker run --rm \
  -v nornicdb-data:/data \
  -v $(pwd):/backup \
  alpine tar xzf /backup/nornicdb-backup-20251201.tar.gz -C /data

# List volumes
docker volume ls | grep nornicdb

Health Checks

# Check container status
docker ps

# Test HTTP API
curl -f http://localhost:7474/health

# Test Bolt protocol
nc -z localhost 7687

# Test query
curl -X POST http://localhost:7474/db/nornic/tx/commit \
  -H "Content-Type: application/json" \
  -d '{"statements":[{"statement":"RETURN 1 as test"}]}'

๐Ÿ—๏ธ Building Images

Prerequisites

  • Docker 20.10+
  • Make tool
  • Go 1.21+ (for building from source)

Build Commands

# Clone repository
git clone https://github.com/timothyswt/nornicdb.git
cd nornicdb

# Build Apple Silicon image
make build-arm64-metal-bge

# Build NVIDIA GPU image
make build-amd64-cuda-bge

# Build CPU only image
make build-amd64-cpu

# Build with Heimdall AI
make build-arm64-metal-bge-heimdall

Custom Build

# Build without cache
DOCKER_NO_CACHE=1 make build-arm64-metal-bge

๐ŸŒ Access Points

ServicePortProtocolURL
HTTP API7474HTTPhttp://localhost:7474
Bolt Protocol7687Boltbolt://localhost:7687
Health Check7474HTTPhttp://localhost:7474/health
Metrics (optional)9090HTTPhttp://localhost:9090/metrics

๐Ÿ”’ Environment Variables

Use the canonical Environment Variables Reference for supported settings and defaults. This quick reference intentionally stays focused on image choice, startup commands, and operational shortcuts.


Need help? โ†’ Troubleshooting Guide
Production deployment? โ†’ Docker Deployment Guide