Finally I did some investigation. The problem is within the shutdown of the pg-gvm container.
When docker itself is restarted or shutdown, for example during a reboot, the containers don’t get that much time as during normal stop. In case of the pg-gvm container this results in an insufficient shutdown of the postgres database which leaves a dangling lock file in the file system.