Failed to get PMM Agent status from local pmm-agent: pmm-agent is not connected to PMM Server

Docker container stopped suddenly and showing status unhealthy.

Have you checked the logs of the container? Anything useful there?

docker logs --tail=200 pmm-server

dockerlogs.txt (14.3 KB)
Please find attached log files

It happened after docker container restart

Looks like the error happened earlier. Can you check what happened right after the restart?
Can you exec into the container to check postgresql logs?