Stop using canal! Alibaba Canal is really a shit. Bad docs, bad codes. Flink CDC is what you need.
This is the docker image for canal adapter.
You need to mount volume to canal-adapter config file to work properly.
See config file template: application.yml and Elastic DB adapter config file
docker run --name canal-adapter \
-v /path/to/application.yml:/usr/share/canal/adapter/conf/application.yml \
-v /path/to/es7:/usr/share/canal/adapter/conf/es7 \
-d youmianzz/canal-adapter:1.1.5
- The work dir:
/usr/share/canal/adapter
. - Log file:
/usr/share/canal/adapter/logs/adapter/adapter.log
, you may mount volume to the log file if you need.