Run pgAdmin4 on Docker in Arch Linux

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 Install Docker, of course! Pull image pgAdmin4: docker pull dpage/pgadmin4 Run script below: #!/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

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

  1. Install Docker, of course!
  2. Pull image pgAdmin4: docker pull dpage/pgadmin4
  3. Run script below:
#!/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)&
  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 password admin
  • a volume named “pgadmin” is create to store config

Nguồn: viblo.asia

Bài viết liên quan

So sánh Webhook và API: Khi nào nên sử dụng?

Trong lĩnh vực công nghệ thông tin và phát triển phần mềm, Webhook và API là hai th

Những ngành nghề AI có thể thay thế dần trong tương lai.

Những ngành nghề AI có thể thay thế trong tương lai gần Dựa trên các báo cáo và

Tạo Subdomain miễn phí với is-a.dev 🤪

Cuối tuần mọi người thế nào, mình thì rảnh quá lướt Facebook, tớ tình cờ th

Dùng TailwindCSS v4 trong SpringBoot + JTE

Giới thiệu JTE là gì? JTE (Java Template Engine) là một template engine an toàn, nhẹ và