You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by Amir Hossein Sharifzadeh <am...@gmail.com> on 2023/05/31 18:37:52 UTC
A few questions regarding Docker
Hi Flink Dev Team,
I am trying to create a Docker image. Before asking my question, I will
explain to you about my application. My main (command) jar file:
1) Has dependencies on other jar files (they are all in the same directory)
2) It Needs to read some arguments from a config file.
3) Generates an output file.Is dealing with EmbeddedRocksDBStateBackend.
4) Is NOT doing anything with SQL Client.
I am following docker documentation here
<https://nightlies.apache.org/flink/flink-docs-release-1.17/docs/deployment/resource-providers/standalone/docker/>
and will need to create a Dockerfile and a docker-compose.yml
Question 1:
From docker-compose.yml, in the command section, what arguments should I
pass?
(I run the standalone application from the terminal:
java -Xms10g -Xmx28g -jar my-stream-processing-1.2.jar --config
stream.config
Question 2:
Where to upload other jar dependencies?
Thank you very much.
Best,
Amir