Skip to content

nurturenature/jepsen-docker

Repository files navigation

Jepsen in Docker


This repository proposes a simplification of the current Jepsen in Docker:

  • more image based
  • more composable

Note that:

  • images are large
  • fully featured systemd Debian containers

Sample images:

  • install current release version 0.3.9
  • build/install current development version from GitHub repository 0.3.10-SNAPSHOT
  • are built and published every Sunday at 00:15
  • are published at:
    export JEPSEN_REGISTRY="ghcr.io/nurturenature/jepsen-docker/"

Full Jepsen Environment

# build Docker images
docker build -t jepsen-setup   ./jepsen-setup
docker build -t jepsen-node    ./jepsen-node
docker build -t jepsen-control ./jepsen-control

# or, use published Jepsen images from the registry
export JEPSEN_REGISTRY="ghcr.io/nurturenature/jepsen-docker/"

# bring up a Jepsen control node and 5 db nodes
docker compose -f jepsen-compose.yaml up --detach --wait

# open a shell into the control node
docker exec -it jepsen-control bash

# remember you can run a test webserver in the control node
# that will be available from the host at http://localhost:8080
lein run serve

# bring down the Jepsen cluster
docker compose -f jepsen-compose.yaml down --volumes

About

Jepsen in Docker Experiments.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •