Skip to content

Ververica Cloud, a fully-managed cloud service for stream processing!

Learn more

Introducing Official Docker Images for Apache Flink®


by

Patrick Lucas is a Senior Data Engineer at data Artisans, and Ismaël Mejía (@iemejia) is a software engineer at Talend.

Thepost originally appeared on the Apache Flink blog. It was reproduced here under the Apache License, Version 2.0.

For some time, the Apache Flink community has provided scripts to build a Docker image to run Flink. Now, starting with version 1.2.1, Flink will have an official Docker image. This image is maintained by the Flink community and curated by the Docker team to ensure it meets the quality standards for container images of the Docker community.

A community-maintained way to run Apache Flink on Docker and other container runtimes and orchestrators is part of the ongoing effort by the Flink community to make Flink a first-class citizen of the container world.

If you want to use the official Docker image today you can get the latest version by running:

docker pull flink 

And to run a local Flink cluster with one TaskManager and the Web UI exposed on port 8081, run:

docker run -t -p 8081:8081 flink local 

With this image there are various ways to start a Flink cluster, both locally and in a distributed environment. Take a look at the documentation that shows how to run a Flink cluster with multiple TaskManagers locally using Docker Compose or across multiple machines using Docker Swarm. You can also use the examples as a reference to create configurations for other platforms like Mesos and Kubernetes.

While this announcement is an important milestone, it’s just the first step to help users run containerized Flink in production. There are improvements to be made in Flink itself and we will continue to improve these Docker images and for the documentation and examples surrounding them.

This is of course a team effort, so any contribution is welcome. The docker-flink GitHub organization hosts the source files to generate the images and the documentation that is presented alongside the images on Docker Hub.

Ververica Academy

Patrick Lucas
Article by:

Patrick Lucas

Comments

Our Latest Blogs

Streamhouse Unveiled featured image
by Jing Ge 17 November 2023

Streamhouse Unveiled

Apache Flink: History of Reliability Every year, Apache Flink® sets new records in its development journey. Standing as a testament to its growing popularity, Flink now boosts over 1.6k contributors,...
Read More
Highlights from Flink Forward Seattle 2023 featured image
by Karin Landers 16 November 2023

Highlights from Flink Forward Seattle 2023

Now that Flink Forward Seattle 2023 is over, we’re excited to share that the event was a big (Flinking) success! Flink Forward is *the* conference dedicated entirely to Apache Flink®, and includes...
Read More
Join me at Flink Forward! featured image
by Jing Ge 12 October 2023

Join me at Flink Forward!

Real-time data streaming is a HOT topic, which comes as no surprise considering how stream processing helps companies create new business opportunities, strengthens their advantage over competitors,...
Read More