trinodb/trino

Sponsored OSS

By Trino Software Foundation

Updated 4 days ago

Official image for Trino (formerly PrestoSQL), a fast distributed SQL engine for big data analytics

Image
Data Science
Databases & Storage
Machine Learning & AI
78

10M+

Trino Logo

Fast distributed SQL query engine for big data

This image provides an out-of-the-box single node cluster with the JMX, memory, TPC-DS, and TPC-H catalogs.

It can be deployed as a full cluster by mounting a configuration directory to replace the defaults.

See the README for more details about the image, or the Trino website to learn more about Trino.

Quickstart

Run the Trino server

You can launch a single node Trino cluster for testing purposes. The Trino node will function both as a coordinator and a worker. To launch it, execute the following:

docker run -p 8080:8080 --name trino trinodb/trino

Wait for the following message log line:

INFO	main	io.trino.server.Server	======== SERVER STARTED ========

The Trino server is now running on localhost:8080 (the default port).

Run the Trino CLI

Run the Trino CLI, which connects to localhost:8080 by default:

docker exec -it trino trino

You can pass additional arguments to the Trino CLI:

docker exec -it trino trino --catalog tpch --schema sf1

Docker Pull Command

docker pull trinodb/trino