社区所有版块导航
Python
python开源   Django   Python   DjangoApp   pycharm  
DATA
docker   Elasticsearch  
aigc
aigc   chatgpt  
WEB开发
linux   MongoDB   Redis   DATABASE   NGINX   其他Web框架   web工具   zookeeper   tornado   NoSql   Bootstrap   js   peewee   Git   bottle   IE   MQ   Jquery  
机器学习
机器学习算法  
Python88.com
反馈   公告   社区推广  
产品
短视频  
印度
印度  
Py学习  »  Rahul Goel  »  全部回复
回复总数  1
5 年前
回复了 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