Docker CentOS 7 - cron not working in local machine
问题 In my VPS, I have created a docker image containing cron running as entry command. I also have a sample cron file that says it should execute the command every 5 minutes. Dockerfile: FROM centos:centos7 MAINTAINER Lysender <foo@example.com> # Install packages RUN yum -y update && yum clean all RUN yum -y install epel-release && yum clean all RUN yum -y install git \ bind-utils \ pwgen \ psmisc \ net-tools \ hostname \ curl \ curl-devel \ sqlite \ cronie \ libevent \ gearmand \ libgearman \