I would say that there is just a little overhead as Postgres data volume is mounted inside Docker container. Running Postgres in docker container without volumes would have a bigger impact.
And Docker container is not a VM, so I don't like to use word Virtualization for containers :)