Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1005 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 1005 Bytes

docker-prestodb

Build Status Docker Build Statu

This is a docker image for PrestoDB with Db2 connector.

Notice: it starts to switch the base image from openjdk to the official prestosql container image prestosql/presto since tag 325.

Start

docker run -d -p 8080:8080 shawnzhu/prestodb:latest

Configuration

DB2

Given configuration of db2:

# cat db2.properties
connector.name=db2
connection-url=jdbc:db2://ip:port/database
connection-user=myuser
connection-password=mypassword

Then:

docker run -d -p 8080:8080 -v /foo/bar/db2.properties:/usr/lib/presto/default/etc/catalog/db2.properties:ro shawnzhu/prestodb:latest