![容器在健康和死亡之间循环](https://linux22.com/image/225022/%E5%AE%B9%E5%99%A8%E5%9C%A8%E5%81%A5%E5%BA%B7%E5%92%8C%E6%AD%BB%E4%BA%A1%E4%B9%8B%E9%97%B4%E5%BE%AA%E7%8E%AF.png)
我已经在我的 AlmaLinux 8 主机上添加了一个容器,它启动正常(作为服务启动)。但我注意到下面的日志中有奇怪的输出。 Systemctl 报告我的服务运行良好。
下面只是正常输出吗?其中一行写着健康,下一行写着死亡。并且这种情况不断重复。
Sep 30 13:14:36 lserver systemd[1]: Started /usr/bin/podman healthcheck run aca8a5a216ea6cdacc27cac48aa7ba8da880534d7bd332b626a5a3cef7e85c57.
Sep 30 13:14:36 lserver systemd[1]: tmp-crun.y3qAWM.mount: Deactivated successfully.
Sep 30 13:14:36 lserver podman[9325]: 2023-09-30 13:14:36.661692833 -0400 EDT m=+0.097308147 container health_status aca8a5a216ea6cdacc27cac48aa7ba8da880534d7bd332b626a5a3cef7e85c57 (image=docker.io/jacobalberty/unifi:latest, name=unifi, health_status=healthy, ghcr.io/jacobalberty/unifi-docker:v7=, ghcr.io/jacobalberty/unifi-docker:v7.4=, jacobalberty/unifi:v7.4=, jacobalberty/unifi:v7.4.162=, maintainer=Jacob Alberty <[email protected]>, ghcr.io/jacobalberty/unifi-docker:latest=, org.opencontainers.image.ref.name=ubuntu, org.opencontainers.image.version=18.04, ghcr.io/jacobalberty/unifi-docker:v7.4.162=, jacobalberty/unifi:latest=, jacobalberty/unifi:v7=)
Sep 30 13:14:36 lserver podman[9325]: 2023-09-30 13:14:36.724515206 -0400 EDT m=+0.160130482 container exec_died aca8a5a216ea6cdacc27cac48aa7ba8da880534d7bd332b626a5a3cef7e85c57 (image=docker.io/jacobalberty/unifi:latest, name=unifi, org.opencontainers.image.version=18.04, jacobalberty/unifi:v7.4=, org.opencontainers.image.ref.name=ubuntu, jacobalberty/unifi:v7=, ghcr.io/jacobalberty/unifi-docker:v7=, ghcr.io/jacobalberty/unifi-docker:v7.4.162=, ghcr.io/jacobalberty/unifi-docker:v7.4=, jacobalberty/unifi:latest=, jacobalberty/unifi:v7.4.162=, maintainer=Jacob Alberty <[email protected]>, ghcr.io/jacobalberty/unifi-docker:latest=)
Sep 30 13:14:36 lserver systemd[1]: aca8a5a216ea6cdacc27cac48aa7ba8da880534d7bd332b626a5a3cef7e85c57.service: Deactivated successfully.
Sep 30 13:15:07 lserver systemd[1]: Started /usr/bin/podman healthcheck run aca8a5a216ea6cdacc27cac48aa7ba8da880534d7bd332b626a5a3cef7e85c57.
Sep 30 13:15:07 lserver systemd[1]: tmp-crun.dByCgB.mount: Deactivated successfully.
Sep 30 13:15:07 lserver podman[9360]: 2023-09-30 13:15:07.480932834 -0400 EDT m=+0.129300293 container health_status aca8a5a216ea6cdacc27cac48aa7ba8da880534d7bd332b626a5a3cef7e85c57 (image=docker.io/jacobalberty/unifi:latest, name=unifi, health_status=healthy, ghcr.io/jacobalberty/unifi-docker:v7.4=, jacobalberty/unifi:v7.4.162=, org.opencontainers.image.version=18.04, ghcr.io/jacobalberty/unifi-docker:v7.4.162=, jacobalberty/unifi:latest=, ghcr.io/jacobalberty/unifi-docker:latest=, ghcr.io/jacobalberty/unifi-docker:v7=, jacobalberty/unifi:v7.4=, maintainer=Jacob Alberty <[email protected]>, jacobalberty/unifi:v7=, org.opencontainers.image.ref.name=ubuntu)
Sep 30 13:15:07 lserver podman[9360]: 2023-09-30 13:15:07.583246769 -0400 EDT m=+0.231614192 container exec_died aca8a5a216ea6cdacc27cac48aa7ba8da880534d7bd332b626a5a3cef7e85c57 (image=docker.io/jacobalberty/unifi:latest, name=unifi, maintainer=Jacob Alberty <[email protected]>, ghcr.io/jacobalberty/unifi-docker:v7.4.162=, jacobalberty/unifi:latest=, ghcr.io/jacobalberty/unifi-docker:latest=, ghcr.io/jacobalberty/unifi-docker:v7=, ghcr.io/jacobalberty/unifi-docker:v7.4=, jacobalberty/unifi:v7.4.162=, jacobalberty/unifi:v7.4=, jacobalberty/unifi:v7=, org.opencontainers.image.ref.name=ubuntu, org.opencontainers.image.version=18.04)
Sep 30 13:15:07 lserver systemd[1]: aca8a5a216ea6cdacc27cac48aa7ba8da880534d7bd332b626a5a3cef7e85c57.service: Deactivated successfully.