Public Repository

Last pushed: 2 months ago
Short Description
Short description is empty for this repo.
Full Description

CorfuDB image

Created from an alpine base image with minimal packages.
Runs Oracle JRE 8

Docker Pull Command
Owner
zalokhan

Comments (1)
zalokhan
3 months ago

To create a corfu cluster, you can use docker-compose.

  • Make sure you have the docker-compose version 3.
  • Create a docker-compose.yml file with the following content:
    version: '3'
    services:
    corfu:
     image: zalokhan/corfu
     command: sh -c 'corfu_server -a $$(ifconfig | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b" | head -1) -m 9000'
     tty: true
    
  • In the same directory as the compose file, you can execute the compose commands. (eg. docker-compose scale corfu=5)
  • You can now login into any of the corfu containers and run the cmdlets to view the status of the cluster. You would initially need to bootstrap the cluster.