Skip to main content

Start Accio Server through Docker

docker pull ghcr.io/canner/accio:latest

Build from local

  • Requirements:
    • Mac OS X or Linux
    • Java 11.0.11+, 64-bit
  • Build from source
    ./mvnw clean install -P exec-jar
  • Build docker image
    ./docker/build-local.sh
  • Start docker container
    docker run -it \
    -p 7432:7432 \
    -v {config_dir}:/usr/src/app/etc \
    --rm {image_id}
    • Replace {config_dir} with config directory path. the directory should contain two files config.properties and mdl.json. Note that mdl.json comes from cli serve
    • Replace {image_id} with docker image id. Use docker image ls to get accio server image id.