Docker 部署 Flink

Docker About 501 words

搜索镜像

docker search flink

拉取镜像

docker pull flink:1.15.1-scala_2.12-java11

创建网络

docker network create flink

创建容器

创建 jobmanager

docker run -d \
--name=jobmanager \
--network flink \
-p 8081:8081 \
-e FLINK_PROPERTIES="jobmanager.rpc.address: jobmanager" \
flink:1.15.1-scala_2.12-java11 jobmanager

创建 taskmanager

docker run -d \
--name=taskmanager \
--network flink \
-e FLINK_PROPERTIES="jobmanager.rpc.address: jobmanager" \
flink:1.15.1-scala_2.12-java11 taskmanager

链接

https://hub.docker.com/_/flink

Views: 1,758 · Posted: 2022-11-30

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh