Public Repository

Last pushed: 2 months ago
Short Description
This image contains CLI for defined version of Presto.
Full Description

presto-cli

Sources

https://github.com/Teradata/docker-images/tree/master/teradatalabs/presto-cli

Overview

This image contains CLI for defined version of Presto.

Examples

To use examples below please set following environment variables:

  • PRESTO_VERSION - version of Presto CLI to be used
  • PRESTO_HOST - host on which Presto Master is visible
  • PRESTO_PORT - port on which Presto Master is visible (most likely 8080)

Run:

docker run --rm -i -t teradatalabs/presto-cli:$PRESTO_VERSION \
    --server $PRESTO_HOST:$PRESTO_PORT

Run single query:

docker run --rm -i -t teradatalabs/presto-cli:$PRESTO_VERSION \
    --server $PRESTO_HOST:$PRESTO_PORT --execute "$QUERY"

Build:

docker build -t teradatalabs/presto-cli:$PRESTO_VERSION \
    --build-arg PRESTO_VERSION=$PRESTO_VERSION .

License

By using this image, you accept OpenJDK license for Java SE, available at
http://openjdk.java.net/legal/gplv2+ce.html.

Docker Pull Command
Owner
teradatalabs

Comments (0)