一个还没有完美解决的问题: 在docker容器中跑crontab,并让它开机自启

45 阅读1分钟

尽管还有别的办法绕过, 但是确实没有找到好的方式让系统把这个任务设为开机(容器)自启,可以用cmd加入,但是这显得不够完美

在容器中,无法enable service,报错 System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down