Py学习  »  Rahul Goel  »  全部回复
回复总数  1
4 年前
回复了 Rahul Goel 创建的主题 » 无法杀死每10秒重新启动一次的docker

似乎您正在使用systemd脚本。

你应该试试这个命令。 systemctl stop docker-openvpn@NAME.service 代替 NAME

在他们的文件中有说明

In the event the service dies (crashes, or is killed) systemd will attempt to restart the service every 10 seconds until the service is stopped with **systemctl stop docker-openvpn@NAME.service**

结帐跟踪 link

systemctl --type=service