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
.
docker run -d -p 8080:8080 shawnzhu/prestodb:latest
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