druid/distribution/docker
Don Bowman b3dcbe70ad Add docker container for druid (#6896)
* Add docker container for druid

This container is an 'omnibus' (since there is such a high
overlap with the various services). It includes all contrib
extension as well as the msql connector.

It is intended to be run as `docker run NAME SERVICE`
(e.g. docker run druid:latest broker)

* Add Apache license header

* Resolve issues from Pull Request review

* Add comments at top of script per PR comments

* Revert BUILDKIT. Not available everywhere.

* Don't set hostname, allow default (IP)

Some environments (e.g. Kubernetes Deployments) don't resolve
hostname to IP.

* Switch to amd64 glibc-based busybox from 32-bit uclibc

* Override service-specific configuration

* Replace MAINTAINER w/ LABEL

* Add mysql connector to application classpath

This works around issue #3770
https://github.com/apache/incubator-druid/issues/3770

* Add docker-compose and sample environment

Signed-off-by: Don Bowman <don@agilicus.com>
2019-02-08 12:12:28 +00:00
..
Dockerfile Add docker container for druid (#6896) 2019-02-08 12:12:28 +00:00
README.md Add docker container for druid (#6896) 2019-02-08 12:12:28 +00:00
docker-compose.yml Add docker container for druid (#6896) 2019-02-08 12:12:28 +00:00
druid.sh Add docker container for druid (#6896) 2019-02-08 12:12:28 +00:00
environment Add docker container for druid (#6896) 2019-02-08 12:12:28 +00:00
sha256sums.txt Add docker container for druid (#6896) 2019-02-08 12:12:28 +00:00

README.md

Build

From the root of the repo, run docker build -t druid:tag -f distribution/docker/Dockerfile .

Run

Edit environment to suite. Run 'docker-compose -f distribution/docker/docker-compose.yml up`