docker/iceberg-flink-quickstart/README.md
A pre-configured Apache Flink image with Apache Iceberg dependencies for quickly getting started with Iceberg on Flink.
See the Flink quickstart documentation for details.
This Docker image extends the official Apache Flink image to include:
The following build arguments can be customized when building the image:
| Argument | Default | Description |
|---|---|---|
FLINK_VERSION | 2.0 | Apache Flink version |
ICEBERG_FLINK_RUNTIME_VERSION | 2.0 | Iceberg Flink runtime version |
ICEBERG_VERSION | 1.10.1 | Apache Iceberg version |
HADOOP_VERSION | 3.4.2 | Apache Hadoop version |
To build the image locally with default versions:
docker build -t apache/iceberg-flink-quickstart docker/iceberg-flink-quickstart/
To build with custom versions:
docker build \
--build-arg FLINK_VERSION=2.0 \
--build-arg ICEBERG_VERSION=1.10.1 \
-t apache/iceberg-flink-quickstart \
docker/iceberg-flink-quickstart/
See the Flink quickstart documentation for details.
A test script (test.sql) is provided to validate the Iceberg-Flink integration and future changes to the Docker image.
Start up the Docker containers:
docker compose -f docker/iceberg-flink-quickstart/docker-compose.yml up -d --build
Execute the test script directly from the host:
docker exec -i jobmanager ./bin/sql-client.sh < docker/iceberg-flink-quickstart/test.sql
Expected behavior:
iceberg_catalog), 1 database (nyc), 1 table (taxis)iceberg_catalog.nyc.taxis contains 4 rowsTo stop the stack:
docker compose -f docker/iceberg-flink-quickstart/docker-compose.yml down