宝塔用_c9b5 发表于 2024-4-18 15:06:12

【待反馈】docker重启策略保存失败

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:
8.06
系统版本:
Ubuntu 22
问题描述:
docker容器,重启策略,改为失败后重启时
相关截图(日志、错误):
更新失败! 400 Client Error: Bad Request ("invalid JSON: json: cannot unmarshal string into Go struct field RestartPolicy.RestartPolicy.MaximumRetryCount of type int")

宝塔用_c9b5 发表于 2024-4-18 15:28:38

另外容器中日志的时间也不对
:~# date
2024年 04月 18日 星期四 15:26:22 CST
在日志中是:1:M 18 Apr 2024 07:26:53.855 * Ready to accept connections tcphttps://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif

堡塔运维南一 发表于 2024-4-18 16:25:02

您好,将面板版本更新到8.1就可以了

宝塔用_c9b5 发表于 2024-4-29 09:23:55

运维技术南一 发表于 2024-4-18 16:25
您好,将面板版本更新到8.1就可以了

您好,已经是最新的8.1.0了,并且刚刚使用修复后,还是这样更新失败! 400 Client Error: Bad Request ("invalid JSON: json: cannot unmarshal string into Go struct field RestartPolicy.RestartPolicy.MaximumRetryCount of type int")https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif

阿珂 发表于 2024-5-14 15:00:53

修改其他策略是否正常
有更详细的提示吗,截图看看
页: [1]
查看完整版本: 【待反馈】docker重启策略保存失败