Running pgAdmin4 in Arch linux seem like some erros exits. I guess it about Python version conflict. So Docker is best choices for now.
Set up
#!/bin/bash docker run --name pgadmin --network="host" \ -e "PGADMIN_DEFAULT_EMAIL=admin@admin.admin" \
-e "PGADMIN_DEFAULT_PASSWORD=admin" -d dpage/pgadmin4 || true (nohup xdg-open http://localhost >/dev/null 2>&1) &
- If localhost refuse to connect, just wait about few second, then reload again.
Notes
- on close, the container is not close.
- default email :
admin@admin.admin
, default passwordadmin
- a volume named "pgadmin" is create to store config