【环境信息】
openeulerversion=openEuler-23.09
compiletime=2023-08-23-17-31-23
gccversion=12.3.1-7.oe2309
kernelversion=6.4.0-1.0.1.5.oe2309
openjdkversion=1.8.0.382.b05-0.oe2309
软件信息:
podman-1:4.5.1-1.oe2309
【问题复现步骤】
dnf install -y podman
systemctl start podman-restart.service
systemctl status podman-restart.service
systemctl stop podman-restart.service
systemctl status podman-restart.service
出现概率(是否必现,概率性错误):必现
【预期结果】
服务stop成功,并且没有报错
【实际结果】
服务stop失败
Hi zhangpanting, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-CloudNative, and any of the maintainers: @weibaohui , @biannm , @pixiake , @haozi007 , @haomintsai , @yangzhao_kl , @Jianmin , @jiangxinyu , @leon wang
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
此issue与#I7WCXI:【openEuler-23.09 rc1 】【arm/x86 】podman.service 启动后状态为inactive相同,图中错误的原因是当前并没有运行中的容器。
此issue与#I7WCXI:【openEuler-23.09 rc1 】【arm/x86 】podman.service 启动后状态为inactive相同,图中错误的原因是当前并没有运行中的容器。
同样的操作 在22.03 lts sp2 版本 systemctl stop podman-restart.service 是正常的
@lijian
经测试,当存在启动容器为--restart=always时,可以正常停止podman-restart服务。
上游社区设计如此,建议保持一致。
启动容器为--restart=always时,服务启停成功,与上游保持一致
dnf install -y podman podman-docker
echo -e "[registries.search]
registries = ['docker.io']
[registries.insecure]
registries = []
[registries.block]
registries = []
" >/etc/containers/registries.conf
podman run --restart=always --name mynginx -d nginx:latest
登录 后才可以发表评论