docker-trino-cluster

(โ˜… 128)

Multiple node presto cluster on docker container

  • .gitignore
  • docker-compose-aarch64.yml
  • docker-compose-x86.yml
  • docker-compose.yml
  • LICENSE
  • Makefile
  • README.md
  • setup.sh
  • test-container.sh
  • update-readme.sh

# Installation Guide

1. Get the code
git clone https://github.com/Lewuathe/docker-trino-cluster

Downloads the entire project code from GitHub to your computer.

cd docker-trino-cluster

Moves into the project folder you just downloaded.

2. Docker

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
$ docker network create trino_network

Type this command into your terminal and run it.

$ docker run -p 8080:8080 -it \

Runs the built image as an actual container.

$ docker run -it \

Runs the built image as an actual container.

$ trino_VERSION=330-SNAPSHOT docker-compose up

Runs the command against the services defined in the compose file.

$ cp /path/to/trino/trino-server/target/trino-server-330-SNAPSHOT.tar.gz /path/to/docker-trino-cluster/trino-base/

Type this command into your terminal and run it.

โœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

3. Make

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make

Compiles the code based on the generated build configuration to produce an executable.

โœ… If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation