windows docker desctop extension pgadmin4 - ghdrako/doc_snipets GitHub Wiki

Install from Marketplace

Since Docker Desktop v4.11.0 PGAdmin4 Extension is available in Marketplace page, just click on + Add Extensions

docker extension install mochoa/pgadmin4-docker-extension:6.10.0

By clicking on Add New Server you can add PostgreSQL server running at Docker Desktop or externals, the IP for PostgreSQL running in Docker Desktop is available at the menu, Settings -> Resources -> Network -> Docker subnet, in my case is 192.168.65.0/24 so an internal IP for reaching out PostgreSQL containers running in Docker Desktop will be 192.168.65.2, also there is a DNS name which resolve above IP as host.docker.internal.

Hostname/address: host.docker.internal

obraz