azagrebin commented on a change in pull request #12131: URL: https://github.com/apache/flink/pull/12131#discussion_r425131551
########## File path: docs/ops/deployment/docker.md ########## @@ -24,119 +24,476 @@ under the License. --> [Docker](https://www.docker.com) is a popular container runtime. -There are Docker images for Apache Flink available on Docker Hub which can be used to deploy a session cluster. -The Flink repository also contains tooling to create container images to deploy a job cluster. +There are Docker images for Apache Flink available [on Docker Hub](https://hub.docker.com/_/flink). +You can use the docker images to deploy a Session or Job cluster in a containerised environment, e.g. +[standalone Kubernetes](kubernetes.html) or [native Kubernetes](native_kubernetes.html). * This will be replaced by the TOC {:toc} -## Flink session cluster - -A Flink session cluster can be used to run multiple jobs. -Each job needs to be submitted to the cluster after it has been deployed. - -### Docker images +## Docker Hub Flink images The [Flink Docker repository](https://hub.docker.com/_/flink/) is hosted on Docker Hub and serves images of Flink version 1.2.1 and later. -Images for each supported combination of Hadoop and Scala are available, and tag aliases are provided for convenience. +### Image tags -Beginning with Flink 1.5, image tags that omit a Hadoop version (e.g. -`-hadoop28`) correspond to Hadoop-free releases of Flink that do not include a -bundled Hadoop distribution. +Images for each supported combination of Flink and Scala versions are available, and +[tag aliases](https://hub.docker.com/_/flink?tab=tags) are provided for convenience. -For example, the following aliases can be used: *(`1.5.y` indicates the latest -release of Flink 1.5)* +For example, you can use the following aliases: *(`1.11.y` indicates the latest release of Flink 1.11)* * `flink:latest` → `flink:<latest-flink>-scala_<latest-scala>` -* `flink:1.5` → `flink:1.5.y-scala_2.11` -* `flink:1.5-hadoop27` → `flink:1.5.y-hadoop27-scala_2.11` +* `flink:1.11` → `flink:1.11.y-scala_2.11` + +<span class="label label-info">Note</span> Prio to Flink 1.5 version, Hadoop dependencies were always bundled with Flink. +You can see that certain tags include the version of Hadoop, e.g. (e.g. `-hadoop28`). +Beginning with Flink 1.5, image tags that omit the Hadoop version correspond to Hadoop-free releases of Flink +that do not include a bundled Hadoop distribution. + +## How to run Flink image + +The Flink image contains a regular Flink distribution with its default configuration and a standard entry point script. +You can run its standard entry point in the following modes: +* Flink Master for [a Session cluster](#start-a-session-cluster) Review comment: I have at least highlight all these concepts with \*Flink Master\* ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
