he <a href="https://hub.docker.com/_/flink">official Docker repository</a> includes an image
based on Java 17.</p>
<pre><code>docker pull flink:1.18.0-java17
</code></pre>
<p>If your cluster runs on Java 17, this of course, also allows you to use Java 17 features in your user programs and to
compile it to a target version of Java 17.</p>
<p><strong>More Information</strong></p>
<ul>
<li><a href="https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/deployment/java_compatibility/">Documentation</a>