Howto add crontab jobs to elasticsearch docker container?


I am trying ES 5.3.0 docker container and wonder how I can add a crontab jobs to the container?

docker exec -it elasticsearch bash
bash-4.3$ id
uid=1000(elasticsearch) gid=1000(elasticsearch)
bash-4.3$ crontab -l
crontab: must be suid to work properly

It is not allowed to start the container as root.

Br Mathias

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.