I am trying to start cron service on php-fpm docker. This is the sample code I am using :
......
RUN apt update
RUN apt install -y ..... cron
I tried to start the cron in the following ways :
CMD .... && cron -f
and ...
RUN cron -f
but it either fails in building or just don't start cron service.
I also tried with :
cron
and
service cron start
but with no success.